public class ConnectionMonitorInner extends Object
| Constructor and Description |
|---|
ConnectionMonitorInner() |
| 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.
|
String |
location()
Get the location property: Connection monitor location.
|
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.
|
Map<String,String> |
tags()
Get the tags property: Connection monitor tags.
|
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.
|
ConnectionMonitorInner |
withAutoStart(Boolean autoStart)
Set the autoStart property: Determines if the connection monitor will start automatically once created.
|
ConnectionMonitorInner |
withDestination(ConnectionMonitorDestination destination)
Set the destination property: Describes the destination of connection monitor.
|
ConnectionMonitorInner |
withEndpoints(List<ConnectionMonitorEndpoint> endpoints)
Set the endpoints property: List of connection monitor endpoints.
|
ConnectionMonitorInner |
withLocation(String location)
Set the location property: Connection monitor location.
|
ConnectionMonitorInner |
withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
Set the monitoringIntervalInSeconds property: Monitoring interval in seconds.
|
ConnectionMonitorInner |
withNotes(String notes)
Set the notes property: Optional notes to be associated with the connection monitor.
|
ConnectionMonitorInner |
withOutputs(List<ConnectionMonitorOutput> outputs)
Set the outputs property: List of connection monitor outputs.
|
ConnectionMonitorInner |
withSource(ConnectionMonitorSource source)
Set the source property: Describes the source of connection monitor.
|
ConnectionMonitorInner |
withTags(Map<String,String> tags)
Set the tags property: Connection monitor tags.
|
ConnectionMonitorInner |
withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)
Set the testConfigurations property: List of connection monitor test configurations.
|
ConnectionMonitorInner |
withTestGroups(List<ConnectionMonitorTestGroup> testGroups)
Set the testGroups property: List of connection monitor test groups.
|
public String location()
public ConnectionMonitorInner withLocation(String location)
location - the location value to set.public Map<String,String> tags()
public ConnectionMonitorInner withTags(Map<String,String> tags)
tags - the tags value to set.public ConnectionMonitorSource source()
public ConnectionMonitorInner withSource(ConnectionMonitorSource source)
source - the source value to set.public ConnectionMonitorDestination destination()
public ConnectionMonitorInner withDestination(ConnectionMonitorDestination destination)
destination - the destination value to set.public Boolean autoStart()
public ConnectionMonitorInner withAutoStart(Boolean autoStart)
autoStart - the autoStart value to set.public Integer monitoringIntervalInSeconds()
public ConnectionMonitorInner withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
monitoringIntervalInSeconds - the monitoringIntervalInSeconds value to set.public List<ConnectionMonitorEndpoint> endpoints()
public ConnectionMonitorInner withEndpoints(List<ConnectionMonitorEndpoint> endpoints)
endpoints - the endpoints value to set.public List<ConnectionMonitorTestConfiguration> testConfigurations()
public ConnectionMonitorInner withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)
testConfigurations - the testConfigurations value to set.public List<ConnectionMonitorTestGroup> testGroups()
public ConnectionMonitorInner withTestGroups(List<ConnectionMonitorTestGroup> testGroups)
testGroups - the testGroups value to set.public List<ConnectionMonitorOutput> outputs()
public ConnectionMonitorInner withOutputs(List<ConnectionMonitorOutput> outputs)
outputs - the outputs value to set.public String notes()
public ConnectionMonitorInner 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.