Package net.stickycode.kuuty.model.v18
Class IoK8sApiDiscoveryV1beta1Endpoint
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiDiscoveryV1beta1Endpoint
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiDiscoveryV1beta1Endpoint extends Object
Endpoint represents a single logical \"backend\" implementing a service.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDRESSESstatic StringJSON_PROPERTY_CONDITIONSstatic StringJSON_PROPERTY_HOSTNAMEstatic StringJSON_PROPERTY_TARGET_REFstatic StringJSON_PROPERTY_TOPOLOGY
-
Constructor Summary
Constructors Constructor Description IoK8sApiDiscoveryV1beta1Endpoint()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ADDRESSES
public static final String JSON_PROPERTY_ADDRESSES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONDITIONS
public static final String JSON_PROPERTY_CONDITIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HOSTNAME
public static final String JSON_PROPERTY_HOSTNAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TARGET_REF
public static final String JSON_PROPERTY_TARGET_REF
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOPOLOGY
public static final String JSON_PROPERTY_TOPOLOGY
- See Also:
- Constant Field Values
-
-
Method Detail
-
addresses
public IoK8sApiDiscoveryV1beta1Endpoint addresses(List<String> addresses)
-
addAddressesItem
public IoK8sApiDiscoveryV1beta1Endpoint addAddressesItem(String addressesItem)
-
getAddresses
public List<String> getAddresses()
addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.- Returns:
- addresses
-
conditions
public IoK8sApiDiscoveryV1beta1Endpoint conditions(IoK8sApiDiscoveryV1beta1EndpointConditions conditions)
-
getConditions
@Nullable public IoK8sApiDiscoveryV1beta1EndpointConditions getConditions()
Get conditions- Returns:
- conditions
-
setConditions
public void setConditions(IoK8sApiDiscoveryV1beta1EndpointConditions conditions)
-
hostname
public IoK8sApiDiscoveryV1beta1Endpoint hostname(String hostname)
-
getHostname
@Nullable public String getHostname()
hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation.- Returns:
- hostname
-
setHostname
public void setHostname(String hostname)
-
targetRef
public IoK8sApiDiscoveryV1beta1Endpoint targetRef(IoK8sApiCoreV1ObjectReference targetRef)
-
getTargetRef
@Nullable public IoK8sApiCoreV1ObjectReference getTargetRef()
Get targetRef- Returns:
- targetRef
-
setTargetRef
public void setTargetRef(IoK8sApiCoreV1ObjectReference targetRef)
-
topology
public IoK8sApiDiscoveryV1beta1Endpoint topology(Map<String,String> topology)
-
putTopologyItem
public IoK8sApiDiscoveryV1beta1Endpoint putTopologyItem(String key, String topologyItem)
-
getTopology
@Nullable public Map<String,String> getTopology()
topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node where the endpoint is located. This should match the corresponding node label. * topology.kubernetes.io/zone: the value indicates the zone where the endpoint is located. This should match the corresponding node label. * topology.kubernetes.io/region: the value indicates the region where the endpoint is located. This should match the corresponding node label.- Returns:
- topology
-
-