Package io.fabric8.kubernetes.api.model
Class EndpointAddress
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.EndpointAddress
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<EndpointAddressBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class EndpointAddress extends Object implements io.fabric8.kubernetes.api.builder.Editable<EndpointAddressBuilder>, KubernetesResource
EndpointAddress is a tuple that describes single IP address. Deprecated: This API is deprecated in v1.33+.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EndpointAddress()No args constructor for use in serializationEndpointAddress(String hostname, String ip, String nodeName, ObjectReference targetRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointAddressBuilderedit()Map<String,Object>getAdditionalProperties()StringgetHostname()The Hostname of this endpointStringgetIp()The IP of this endpoint.StringgetNodeName()Optional: Node hosting this endpoint.ObjectReferencegetTargetRef()EndpointAddress is a tuple that describes single IP address.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetHostname(String hostname)The Hostname of this endpointvoidsetIp(String ip)The IP of this endpoint.voidsetNodeName(String nodeName)Optional: Node hosting this endpoint.voidsetTargetRef(ObjectReference targetRef)EndpointAddress is a tuple that describes single IP address.EndpointAddressBuildertoBuilder()
-
-
-
Constructor Detail
-
EndpointAddress
public EndpointAddress()
No args constructor for use in serialization
-
EndpointAddress
public EndpointAddress(String hostname, String ip, String nodeName, ObjectReference targetRef)
-
-
Method Detail
-
getHostname
public String getHostname()
The Hostname of this endpoint
-
setHostname
public void setHostname(String hostname)
The Hostname of this endpoint
-
getIp
public String getIp()
The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).
-
setIp
public void setIp(String ip)
The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).
-
getNodeName
public String getNodeName()
Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.
-
setNodeName
public void setNodeName(String nodeName)
Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.
-
getTargetRef
public ObjectReference getTargetRef()
EndpointAddress is a tuple that describes single IP address. Deprecated: This API is deprecated in v1.33+.
-
setTargetRef
public void setTargetRef(ObjectReference targetRef)
EndpointAddress is a tuple that describes single IP address. Deprecated: This API is deprecated in v1.33+.
-
edit
public EndpointAddressBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<EndpointAddressBuilder>
-
toBuilder
public EndpointAddressBuilder toBuilder()
-
-