Class ConnectivityCheckRequestDestination


  • public final class ConnectivityCheckRequestDestination
    extends Object
    The connectivity check operation destination.
    • Constructor Detail

      • ConnectivityCheckRequestDestination

        public ConnectivityCheckRequestDestination()
    • Method Detail

      • address

        public String address()
        Get the address property: Destination address. Can either be an IP address or a FQDN.
        Returns:
        the address value.
      • withAddress

        public ConnectivityCheckRequestDestination withAddress​(String address)
        Set the address property: Destination address. Can either be an IP address or a FQDN.
        Parameters:
        address - the address value to set.
        Returns:
        the ConnectivityCheckRequestDestination object itself.
      • port

        public long port()
        Get the port property: Destination port.
        Returns:
        the port value.
      • withPort

        public ConnectivityCheckRequestDestination withPort​(long port)
        Set the port property: Destination port.
        Parameters:
        port - the port value to set.
        Returns:
        the ConnectivityCheckRequestDestination object itself.
      • validate

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