Class ConnectionMonitorDestination

java.lang.Object
com.microsoft.azure.management.network.ConnectionMonitorDestination

public class ConnectionMonitorDestination extends Object
Describes the destination of connection monitor.
  • Constructor Details

    • ConnectionMonitorDestination

      public ConnectionMonitorDestination()
  • Method Details

    • resourceId

      public String resourceId()
      Get the ID of the resource used as the destination by connection monitor.
      Returns:
      the resourceId value
    • withResourceId

      public ConnectionMonitorDestination withResourceId(String resourceId)
      Set the ID of the resource used as the destination by connection monitor.
      Parameters:
      resourceId - the resourceId value to set
      Returns:
      the ConnectionMonitorDestination object itself.
    • address

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

      public ConnectionMonitorDestination withAddress(String address)
      Set address of the connection monitor destination (IP or domain name).
      Parameters:
      address - the address value to set
      Returns:
      the ConnectionMonitorDestination object itself.
    • port

      public Integer port()
      Get the destination port used by connection monitor.
      Returns:
      the port value
    • withPort

      public ConnectionMonitorDestination withPort(Integer port)
      Set the destination port used by connection monitor.
      Parameters:
      port - the port value to set
      Returns:
      the ConnectionMonitorDestination object itself.