ConnectionMonitorResultProperties Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. ConnectionMonitorParameters - com.
azure. resourcemanager. network. fluent. models. ConnectionMonitorResultProperties
- com.
- com.
public final class ConnectionMonitorResultProperties
extends ConnectionMonitorParameters
Describes the properties of a connection monitor.
Constructor Summary
| Constructor | Description |
|---|---|
| ConnectionMonitorResultProperties() |
Creates an instance of Connection |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Connection |
connectionMonitorType()
Get the connection |
|
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
| String |
monitoringStatus()
Get the monitoring |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Offset |
startTime()
Get the start |
|
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 ConnectionMonitorParameters
Methods inherited from java.lang.Object
Constructor Details
ConnectionMonitorResultProperties
public ConnectionMonitorResultProperties()
Creates an instance of ConnectionMonitorResultProperties class.
Method Details
connectionMonitorType
public ConnectionMonitorType connectionMonitorType()
Get the connectionMonitorType property: Type of connection monitor.
Returns:
fromJson
public static ConnectionMonitorResultProperties fromJson(JsonReader jsonReader)
Reads an instance of ConnectionMonitorResultProperties from the JsonReader.
Parameters:
Returns:
Throws:
monitoringStatus
public String monitoringStatus()
Get the monitoringStatus property: The monitoring status of the connection monitor.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the connection monitor.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: The date and time when the connection monitor was started.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ConnectionMonitorResultProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ConnectionMonitorResultProperties.validate()withAutoStart
public ConnectionMonitorResultProperties withAutoStart(Boolean autoStart)
Set the autoStart property: Determines if the connection monitor will start automatically once created.
Overrides:
ConnectionMonitorResultProperties.withAutoStart(Boolean autoStart)Parameters:
withDestination
public ConnectionMonitorResultProperties withDestination(ConnectionMonitorDestination destination)
Set the destination property: Describes the destination of connection monitor.
Overrides:
ConnectionMonitorResultProperties.withDestination(ConnectionMonitorDestination destination)Parameters:
withEndpoints
public ConnectionMonitorResultProperties withEndpoints(List<ConnectionMonitorEndpoint> endpoints)
Set the endpoints property: List of connection monitor endpoints.
Overrides:
ConnectionMonitorResultProperties.withEndpoints(List<ConnectionMonitorEndpoint> endpoints)Parameters:
withMonitoringIntervalInSeconds
public ConnectionMonitorResultProperties withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
Set the monitoringIntervalInSeconds property: Monitoring interval in seconds.
Overrides:
ConnectionMonitorResultProperties.withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)Parameters:
withNotes
public ConnectionMonitorResultProperties withNotes(String notes)
Set the notes property: Optional notes to be associated with the connection monitor.
Overrides:
ConnectionMonitorResultProperties.withNotes(String notes)Parameters:
withOutputs
public ConnectionMonitorResultProperties withOutputs(List<ConnectionMonitorOutput> outputs)
Set the outputs property: List of connection monitor outputs.
Overrides:
ConnectionMonitorResultProperties.withOutputs(List<ConnectionMonitorOutput> outputs)Parameters:
withSource
public ConnectionMonitorResultProperties withSource(ConnectionMonitorSource source)
Set the source property: Describes the source of connection monitor.
Overrides:
ConnectionMonitorResultProperties.withSource(ConnectionMonitorSource source)Parameters:
withTestConfigurations
public ConnectionMonitorResultProperties withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)
Set the testConfigurations property: List of connection monitor test configurations.
Overrides:
ConnectionMonitorResultProperties.withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)Parameters:
withTestGroups
public ConnectionMonitorResultProperties withTestGroups(List<ConnectionMonitorTestGroup> testGroups)
Set the testGroups property: List of connection monitor test groups.
Overrides:
ConnectionMonitorResultProperties.withTestGroups(List<ConnectionMonitorTestGroup> testGroups)Parameters: