Class ConnectionMonitorParameters

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

public class ConnectionMonitorParameters extends Object
Parameters that define the operation to create a connection monitor.
  • Constructor Details

    • ConnectionMonitorParameters

      public ConnectionMonitorParameters()
  • Method Details

    • source

      public ConnectionMonitorSource source()
      Get describes the source of connection monitor.
      Returns:
      the source value
    • withSource

      Set describes the source of connection monitor.
      Parameters:
      source - the source value to set
      Returns:
      the ConnectionMonitorParameters object itself.
    • destination

      public ConnectionMonitorDestination destination()
      Get describes the destination of connection monitor.
      Returns:
      the destination value
    • withDestination

      public ConnectionMonitorParameters withDestination(ConnectionMonitorDestination destination)
      Set describes the destination of connection monitor.
      Parameters:
      destination - the destination value to set
      Returns:
      the ConnectionMonitorParameters object itself.
    • autoStart

      public Boolean autoStart()
      Get determines if the connection monitor will start automatically once created.
      Returns:
      the autoStart value
    • withAutoStart

      public ConnectionMonitorParameters withAutoStart(Boolean autoStart)
      Set determines if the connection monitor will start automatically once created.
      Parameters:
      autoStart - the autoStart value to set
      Returns:
      the ConnectionMonitorParameters object itself.
    • monitoringIntervalInSeconds

      public Integer monitoringIntervalInSeconds()
      Get monitoring interval in seconds.
      Returns:
      the monitoringIntervalInSeconds value
    • withMonitoringIntervalInSeconds

      public ConnectionMonitorParameters withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
      Set monitoring interval in seconds.
      Parameters:
      monitoringIntervalInSeconds - the monitoringIntervalInSeconds value to set
      Returns:
      the ConnectionMonitorParameters object itself.
    • endpoints

      public List<ConnectionMonitorEndpoint> endpoints()
      Get list of connection monitor endpoints.
      Returns:
      the endpoints value
    • withEndpoints

      public ConnectionMonitorParameters withEndpoints(List<ConnectionMonitorEndpoint> endpoints)
      Set list of connection monitor endpoints.
      Parameters:
      endpoints - the endpoints value to set
      Returns:
      the ConnectionMonitorParameters object itself.
    • testConfigurations

      public List<ConnectionMonitorTestConfiguration> testConfigurations()
      Get list of connection monitor test configurations.
      Returns:
      the testConfigurations value
    • withTestConfigurations

      public ConnectionMonitorParameters withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)
      Set list of connection monitor test configurations.
      Parameters:
      testConfigurations - the testConfigurations value to set
      Returns:
      the ConnectionMonitorParameters object itself.
    • testGroups

      public List<ConnectionMonitorTestGroup> testGroups()
      Get list of connection monitor test groups.
      Returns:
      the testGroups value
    • withTestGroups

      public ConnectionMonitorParameters withTestGroups(List<ConnectionMonitorTestGroup> testGroups)
      Set list of connection monitor test groups.
      Parameters:
      testGroups - the testGroups value to set
      Returns:
      the ConnectionMonitorParameters object itself.
    • outputs

      public List<ConnectionMonitorOutput> outputs()
      Get list of connection monitor outputs.
      Returns:
      the outputs value
    • withOutputs

      Set list of connection monitor outputs.
      Parameters:
      outputs - the outputs value to set
      Returns:
      the ConnectionMonitorParameters object itself.
    • notes

      public String notes()
      Get optional notes to be associated with the connection monitor.
      Returns:
      the notes value
    • withNotes

      public ConnectionMonitorParameters withNotes(String notes)
      Set optional notes to be associated with the connection monitor.
      Parameters:
      notes - the notes value to set
      Returns:
      the ConnectionMonitorParameters object itself.