Class APIEndpoint
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1beta1.APIEndpoint
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<APIEndpointBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class APIEndpoint extends Object implements io.fabric8.kubernetes.api.builder.Editable<APIEndpointBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
APIEndpoint represents a reachable Kubernetes API endpoint.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description APIEndpoint()No args constructor for use in serializationAPIEndpoint(String host, Integer port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description APIEndpointBuilderedit()Map<String,Object>getAdditionalProperties()StringgetHost()Host is the hostname on which the API server is serving.IntegergetPort()Port is the port on which the API server is serving.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetHost(String host)Host is the hostname on which the API server is serving.voidsetPort(Integer port)Port is the port on which the API server is serving.APIEndpointBuildertoBuilder()
-
-
-
Method Detail
-
getHost
public String getHost()
Host is the hostname on which the API server is serving.
-
setHost
public void setHost(String host)
Host is the hostname on which the API server is serving.
-
getPort
public Integer getPort()
Port is the port on which the API server is serving.
-
setPort
public void setPort(Integer port)
Port is the port on which the API server is serving.
-
edit
public APIEndpointBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<APIEndpointBuilder>
-
toBuilder
public APIEndpointBuilder toBuilder()
-
-