Class EndpointDetail


  • public final class EndpointDetail
    extends Object
    Current TCP connectivity information from the Api Management Service to a single endpoint.
    • Constructor Detail

      • EndpointDetail

        public EndpointDetail()
    • Method Detail

      • port

        public Integer port()
        Get the port property: The port an endpoint is connected to.
        Returns:
        the port value.
      • withPort

        public EndpointDetail withPort​(Integer port)
        Set the port property: The port an endpoint is connected to.
        Parameters:
        port - the port value to set.
        Returns:
        the EndpointDetail object itself.
      • region

        public String region()
        Get the region property: The region of the dependency.
        Returns:
        the region value.
      • withRegion

        public EndpointDetail withRegion​(String region)
        Set the region property: The region of the dependency.
        Parameters:
        region - the region value to set.
        Returns:
        the EndpointDetail object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.