Class ControlPlaneEndpointProfileControlPlaneEndpoint
java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.ControlPlaneEndpointProfileControlPlaneEndpoint
API server endpoint for the control plane.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ControlPlaneEndpointProfileControlPlaneEndpoint class. -
Method Summary
Modifier and TypeMethodDescriptionhostIp()
Get the hostIp property: Host IP address for API server.port()
Get the port property: Port for the API server.void
validate()
Validates the instance.withHostIp
(String hostIp) Set the hostIp property: Host IP address for API server.Set the port property: Port for the API server.
-
Constructor Details
-
ControlPlaneEndpointProfileControlPlaneEndpoint
public ControlPlaneEndpointProfileControlPlaneEndpoint()Creates an instance of ControlPlaneEndpointProfileControlPlaneEndpoint class.
-
-
Method Details
-
hostIp
Get the hostIp property: Host IP address for API server.- Returns:
- the hostIp value.
-
withHostIp
Set the hostIp property: Host IP address for API server.- Parameters:
hostIp
- the hostIp value to set.- Returns:
- the ControlPlaneEndpointProfileControlPlaneEndpoint object itself.
-
port
Get the port property: Port for the API server.- Returns:
- the port value.
-
withPort
Set the port property: Port for the API server.- Parameters:
port
- the port value to set.- Returns:
- the ControlPlaneEndpointProfileControlPlaneEndpoint object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-