ConnectionMonitorInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. ConnectionMonitorInner
- com.
Implements
public final class ConnectionMonitorInner
implements JsonSerializable<ConnectionMonitorInner>
Parameters that define the operation to create a connection monitor.
Constructor Summary
| Constructor | Description |
|---|---|
| ConnectionMonitorInner() |
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 |
| String |
location()
Get the location property: Connection monitor location. |
| 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. |
| Map<String,String> |
tags()
Get the tags property: Connection monitor tags. |
|
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 |
withLocation(String location)
Set the location property: Connection monitor location. |
|
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 |
withTags(Map<String,String> tags)
Set the tags property: Connection monitor tags. |
|
Connection |
withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)
Set the test |
|
Connection |
withTestGroups(List<ConnectionMonitorTestGroup> testGroups)
Set the test |
Methods inherited from java.lang.Object
Constructor Details
ConnectionMonitorInner
public ConnectionMonitorInner()
Creates an instance of ConnectionMonitorInner 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 ConnectionMonitorInner fromJson(JsonReader jsonReader)
Reads an instance of ConnectionMonitorInner from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: Connection monitor location.
Returns:
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:
tags
public Map<String,String> tags()
Get the tags property: Connection monitor tags.
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 ConnectionMonitorInner withAutoStart(Boolean autoStart)
Set the autoStart property: Determines if the connection monitor will start automatically once created.
Parameters:
Returns:
withDestination
public ConnectionMonitorInner withDestination(ConnectionMonitorDestination destination)
Set the destination property: Describes the destination of connection monitor.
Parameters:
Returns:
withEndpoints
public ConnectionMonitorInner withEndpoints(List<ConnectionMonitorEndpoint> endpoints)
Set the endpoints property: List of connection monitor endpoints.
Parameters:
Returns:
withLocation
public ConnectionMonitorInner withLocation(String location)
Set the location property: Connection monitor location.
Parameters:
Returns:
withMonitoringIntervalInSeconds
public ConnectionMonitorInner withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
Set the monitoringIntervalInSeconds property: Monitoring interval in seconds.
Parameters:
Returns:
withNotes
public ConnectionMonitorInner withNotes(String notes)
Set the notes property: Optional notes to be associated with the connection monitor.
Parameters:
Returns:
withOutputs
public ConnectionMonitorInner withOutputs(List<ConnectionMonitorOutput> outputs)
Set the outputs property: List of connection monitor outputs.
Parameters:
Returns:
withSource
public ConnectionMonitorInner withSource(ConnectionMonitorSource source)
Set the source property: Describes the source of connection monitor.
Parameters:
Returns:
withTags
public ConnectionMonitorInner withTags(Map<String,String> tags)
Set the tags property: Connection monitor tags.
Parameters:
Returns:
withTestConfigurations
public ConnectionMonitorInner withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)
Set the testConfigurations property: List of connection monitor test configurations.
Parameters:
Returns:
withTestGroups
public ConnectionMonitorInner withTestGroups(List<ConnectionMonitorTestGroup> testGroups)
Set the testGroups property: List of connection monitor test groups.
Parameters:
Returns: