Class ControlPlaneEndpointProfileControlPlaneEndpoint

java.lang.Object
com.azure.resourcemanager.hybridcontainerservice.models.ControlPlaneEndpointProfileControlPlaneEndpoint

public final class ControlPlaneEndpointProfileControlPlaneEndpoint extends Object
API server endpoint for the control plane.
  • Constructor Details

    • ControlPlaneEndpointProfileControlPlaneEndpoint

      public ControlPlaneEndpointProfileControlPlaneEndpoint()
      Creates an instance of ControlPlaneEndpointProfileControlPlaneEndpoint class.
  • Method Details

    • hostIp

      public String 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

      public String 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.