Class ConnectionMonitorEndpoint


  • public final class ConnectionMonitorEndpoint
    extends Object
    Describes the connection monitor endpoint.
    • Constructor Detail

      • ConnectionMonitorEndpoint

        public ConnectionMonitorEndpoint()
    • Method Detail

      • name

        public String name()
        Get the name property: The name of the connection monitor endpoint.
        Returns:
        the name value.
      • withName

        public ConnectionMonitorEndpoint withName​(String name)
        Set the name property: The name of the connection monitor endpoint.
        Parameters:
        name - the name value to set.
        Returns:
        the ConnectionMonitorEndpoint object itself.
      • type

        public EndpointType type()
        Get the type property: The endpoint type.
        Returns:
        the type value.
      • withType

        public ConnectionMonitorEndpoint withType​(EndpointType type)
        Set the type property: The endpoint type.
        Parameters:
        type - the type value to set.
        Returns:
        the ConnectionMonitorEndpoint object itself.
      • resourceId

        public String resourceId()
        Get the resourceId property: Resource ID of the connection monitor endpoint.
        Returns:
        the resourceId value.
      • withResourceId

        public ConnectionMonitorEndpoint withResourceId​(String resourceId)
        Set the resourceId property: Resource ID of the connection monitor endpoint.
        Parameters:
        resourceId - the resourceId value to set.
        Returns:
        the ConnectionMonitorEndpoint object itself.
      • address

        public String address()
        Get the address property: Address of the connection monitor endpoint (IP or domain name).
        Returns:
        the address value.
      • withAddress

        public ConnectionMonitorEndpoint withAddress​(String address)
        Set the address property: Address of the connection monitor endpoint (IP or domain name).
        Parameters:
        address - the address value to set.
        Returns:
        the ConnectionMonitorEndpoint object itself.
      • coverageLevel

        public CoverageLevel coverageLevel()
        Get the coverageLevel property: Test coverage for the endpoint.
        Returns:
        the coverageLevel value.
      • withCoverageLevel

        public ConnectionMonitorEndpoint withCoverageLevel​(CoverageLevel coverageLevel)
        Set the coverageLevel property: Test coverage for the endpoint.
        Parameters:
        coverageLevel - the coverageLevel value to set.
        Returns:
        the ConnectionMonitorEndpoint object itself.
      • validate

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