Class ConnectionMonitorSource

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

public class ConnectionMonitorSource extends Object
Describes the source of connection monitor.
  • Constructor Details

    • ConnectionMonitorSource

      public ConnectionMonitorSource()
  • Method Details

    • resourceId

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

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

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

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