ConnectionMonitorParameters Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. ConnectionMonitorParameters
- com.
Implements
public class ConnectionMonitorParameters
implements JsonSerializable<ConnectionMonitorParameters>
Parameters that define the operation to create a connection monitor.
Constructor Summary
| Constructor | Description |
|---|---|
| ConnectionMonitorParameters() |
Creates an instance of Connection |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
autoStart()
Get the auto |
|
Connection |
destination()
Get the destination property: Describes the destination of connection monitor. |
|
List<Connection |
endpoints()
Get the endpoints property: List of connection monitor endpoints. |
|
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
| Integer |
monitoringIntervalInSeconds()
Get the monitoring |
| String |
notes()
Get the notes property: Optional notes to be associated with the connection monitor. |
|
List<Connection |
outputs()
Get the outputs property: List of connection monitor outputs. |
|
Connection |
source()
Get the source property: Describes the source of connection monitor. |
|
List<Connection |
testConfigurations()
Get the test |
|
List<Connection |
testGroups()
Get the test |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Connection |
withAutoStart(Boolean autoStart)
Set the auto |
|
Connection |
withDestination(ConnectionMonitorDestination destination)
Set the destination property: Describes the destination of connection monitor. |
|
Connection |
withEndpoints(List<ConnectionMonitorEndpoint> endpoints)
Set the endpoints property: List of connection monitor endpoints. |
|
Connection |
withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
Set the monitoring |
|
Connection |
withNotes(String notes)
Set the notes property: Optional notes to be associated with the connection monitor. |
|
Connection |
withOutputs(List<ConnectionMonitorOutput> outputs)
Set the outputs property: List of connection monitor outputs. |
|
Connection |
withSource(ConnectionMonitorSource source)
Set the source property: Describes the source of connection monitor. |
|
Connection |
withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)
Set the test |
|
Connection |
withTestGroups(List<ConnectionMonitorTestGroup> testGroups)
Set the test |
Methods inherited from java.lang.Object
Constructor Details
ConnectionMonitorParameters
public ConnectionMonitorParameters()
Creates an instance of ConnectionMonitorParameters class.
Method Details
autoStart
public Boolean autoStart()
Get the autoStart property: Determines if the connection monitor will start automatically once created.
Returns:
destination
public ConnectionMonitorDestination destination()
Get the destination property: Describes the destination of connection monitor.
Returns:
endpoints
public List<ConnectionMonitorEndpoint> endpoints()
Get the endpoints property: List of connection monitor endpoints.
Returns:
fromJson
public static ConnectionMonitorParameters fromJson(JsonReader jsonReader)
Reads an instance of ConnectionMonitorParameters from the JsonReader.
Parameters:
Returns:
Throws:
monitoringIntervalInSeconds
public Integer monitoringIntervalInSeconds()
Get the monitoringIntervalInSeconds property: Monitoring interval in seconds.
Returns:
notes
public String notes()
Get the notes property: Optional notes to be associated with the connection monitor.
Returns:
outputs
public List<ConnectionMonitorOutput> outputs()
Get the outputs property: List of connection monitor outputs.
Returns:
source
public ConnectionMonitorSource source()
Get the source property: Describes the source of connection monitor.
Returns:
testConfigurations
public List<ConnectionMonitorTestConfiguration> testConfigurations()
Get the testConfigurations property: List of connection monitor test configurations.
Returns:
testGroups
public List<ConnectionMonitorTestGroup> testGroups()
Get the testGroups property: List of connection monitor test groups.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAutoStart
public ConnectionMonitorParameters withAutoStart(Boolean autoStart)
Set the autoStart property: Determines if the connection monitor will start automatically once created.
Parameters:
Returns:
withDestination
public ConnectionMonitorParameters withDestination(ConnectionMonitorDestination destination)
Set the destination property: Describes the destination of connection monitor.
Parameters:
Returns:
withEndpoints
public ConnectionMonitorParameters withEndpoints(List<ConnectionMonitorEndpoint> endpoints)
Set the endpoints property: List of connection monitor endpoints.
Parameters:
Returns:
withMonitoringIntervalInSeconds
public ConnectionMonitorParameters withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
Set the monitoringIntervalInSeconds property: Monitoring interval in seconds.
Parameters:
Returns:
withNotes
public ConnectionMonitorParameters withNotes(String notes)
Set the notes property: Optional notes to be associated with the connection monitor.
Parameters:
Returns:
withOutputs
public ConnectionMonitorParameters withOutputs(List<ConnectionMonitorOutput> outputs)
Set the outputs property: List of connection monitor outputs.
Parameters:
Returns:
withSource
public ConnectionMonitorParameters withSource(ConnectionMonitorSource source)
Set the source property: Describes the source of connection monitor.
Parameters:
Returns:
withTestConfigurations
public ConnectionMonitorParameters withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)
Set the testConfigurations property: List of connection monitor test configurations.
Parameters:
Returns:
withTestGroups
public ConnectionMonitorParameters withTestGroups(List<ConnectionMonitorTestGroup> testGroups)
Set the testGroups property: List of connection monitor test groups.
Parameters:
Returns: