public class ConnectionMonitorParameters extends Object
| Constructor and Description |
|---|
ConnectionMonitorParameters() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
autoStart()
Get the autoStart property: Determines if the connection monitor will start automatically once created.
|
ConnectionMonitorDestination |
destination()
Get the destination property: Describes the destination of connection monitor.
|
List<ConnectionMonitorEndpoint> |
endpoints()
Get the endpoints property: List of connection monitor endpoints.
|
Integer |
monitoringIntervalInSeconds()
Get the monitoringIntervalInSeconds property: Monitoring interval in seconds.
|
String |
notes()
Get the notes property: Optional notes to be associated with the connection monitor.
|
List<ConnectionMonitorOutput> |
outputs()
Get the outputs property: List of connection monitor outputs.
|
ConnectionMonitorSource |
source()
Get the source property: Describes the source of connection monitor.
|
List<ConnectionMonitorTestConfiguration> |
testConfigurations()
Get the testConfigurations property: List of connection monitor test configurations.
|
List<ConnectionMonitorTestGroup> |
testGroups()
Get the testGroups property: List of connection monitor test groups.
|
void |
validate()
Validates the instance.
|
ConnectionMonitorParameters |
withAutoStart(Boolean autoStart)
Set the autoStart property: Determines if the connection monitor will start automatically once created.
|
ConnectionMonitorParameters |
withDestination(ConnectionMonitorDestination destination)
Set the destination property: Describes the destination of connection monitor.
|
ConnectionMonitorParameters |
withEndpoints(List<ConnectionMonitorEndpoint> endpoints)
Set the endpoints property: List of connection monitor endpoints.
|
ConnectionMonitorParameters |
withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
Set the monitoringIntervalInSeconds property: Monitoring interval in seconds.
|
ConnectionMonitorParameters |
withNotes(String notes)
Set the notes property: Optional notes to be associated with the connection monitor.
|
ConnectionMonitorParameters |
withOutputs(List<ConnectionMonitorOutput> outputs)
Set the outputs property: List of connection monitor outputs.
|
ConnectionMonitorParameters |
withSource(ConnectionMonitorSource source)
Set the source property: Describes the source of connection monitor.
|
ConnectionMonitorParameters |
withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)
Set the testConfigurations property: List of connection monitor test configurations.
|
ConnectionMonitorParameters |
withTestGroups(List<ConnectionMonitorTestGroup> testGroups)
Set the testGroups property: List of connection monitor test groups.
|
public ConnectionMonitorSource source()
public ConnectionMonitorParameters withSource(ConnectionMonitorSource source)
source - the source value to set.public ConnectionMonitorDestination destination()
public ConnectionMonitorParameters withDestination(ConnectionMonitorDestination destination)
destination - the destination value to set.public Boolean autoStart()
public ConnectionMonitorParameters withAutoStart(Boolean autoStart)
autoStart - the autoStart value to set.public Integer monitoringIntervalInSeconds()
public ConnectionMonitorParameters withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
monitoringIntervalInSeconds - the monitoringIntervalInSeconds value to set.public List<ConnectionMonitorEndpoint> endpoints()
public ConnectionMonitorParameters withEndpoints(List<ConnectionMonitorEndpoint> endpoints)
endpoints - the endpoints value to set.public List<ConnectionMonitorTestConfiguration> testConfigurations()
public ConnectionMonitorParameters withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)
testConfigurations - the testConfigurations value to set.public List<ConnectionMonitorTestGroup> testGroups()
public ConnectionMonitorParameters withTestGroups(List<ConnectionMonitorTestGroup> testGroups)
testGroups - the testGroups value to set.public List<ConnectionMonitorOutput> outputs()
public ConnectionMonitorParameters withOutputs(List<ConnectionMonitorOutput> outputs)
outputs - the outputs value to set.public String notes()
public ConnectionMonitorParameters withNotes(String notes)
notes - the notes value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.