public final class ConnectionMonitorResultProperties extends ConnectionMonitorParameters
| Constructor and Description |
|---|
ConnectionMonitorResultProperties() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionMonitorType |
connectionMonitorType()
Get the connectionMonitorType property: Type of connection monitor.
|
String |
monitoringStatus()
Get the monitoringStatus property: The monitoring status of the connection monitor.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the connection monitor.
|
OffsetDateTime |
startTime()
Get the startTime property: The date and time when the connection monitor was started.
|
void |
validate()
Validates the instance.
|
ConnectionMonitorResultProperties |
withAutoStart(Boolean autoStart)
Set the autoStart property: Determines if the connection monitor will start automatically once created.
|
ConnectionMonitorResultProperties |
withDestination(ConnectionMonitorDestination destination)
Set the destination property: Describes the destination of connection monitor.
|
ConnectionMonitorResultProperties |
withEndpoints(List<ConnectionMonitorEndpoint> endpoints)
Set the endpoints property: List of connection monitor endpoints.
|
ConnectionMonitorResultProperties |
withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
Set the monitoringIntervalInSeconds property: Monitoring interval in seconds.
|
ConnectionMonitorResultProperties |
withNotes(String notes)
Set the notes property: Optional notes to be associated with the connection monitor.
|
ConnectionMonitorResultProperties |
withOutputs(List<ConnectionMonitorOutput> outputs)
Set the outputs property: List of connection monitor outputs.
|
ConnectionMonitorResultProperties |
withSource(ConnectionMonitorSource source)
Set the source property: Describes the source of connection monitor.
|
ConnectionMonitorResultProperties |
withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)
Set the testConfigurations property: List of connection monitor test configurations.
|
ConnectionMonitorResultProperties |
withTestGroups(List<ConnectionMonitorTestGroup> testGroups)
Set the testGroups property: List of connection monitor test groups.
|
autoStart, destination, endpoints, monitoringIntervalInSeconds, notes, outputs, source, testConfigurations, testGroupspublic ProvisioningState provisioningState()
public OffsetDateTime startTime()
public String monitoringStatus()
public ConnectionMonitorType connectionMonitorType()
public ConnectionMonitorResultProperties withSource(ConnectionMonitorSource source)
withSource in class ConnectionMonitorParameterssource - the source value to set.public ConnectionMonitorResultProperties withDestination(ConnectionMonitorDestination destination)
withDestination in class ConnectionMonitorParametersdestination - the destination value to set.public ConnectionMonitorResultProperties withAutoStart(Boolean autoStart)
withAutoStart in class ConnectionMonitorParametersautoStart - the autoStart value to set.public ConnectionMonitorResultProperties withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
withMonitoringIntervalInSeconds in class ConnectionMonitorParametersmonitoringIntervalInSeconds - the monitoringIntervalInSeconds value to set.public ConnectionMonitorResultProperties withEndpoints(List<ConnectionMonitorEndpoint> endpoints)
withEndpoints in class ConnectionMonitorParametersendpoints - the endpoints value to set.public ConnectionMonitorResultProperties withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)
withTestConfigurations in class ConnectionMonitorParameterstestConfigurations - the testConfigurations value to set.public ConnectionMonitorResultProperties withTestGroups(List<ConnectionMonitorTestGroup> testGroups)
withTestGroups in class ConnectionMonitorParameterstestGroups - the testGroups value to set.public ConnectionMonitorResultProperties withOutputs(List<ConnectionMonitorOutput> outputs)
withOutputs in class ConnectionMonitorParametersoutputs - the outputs value to set.public ConnectionMonitorResultProperties withNotes(String notes)
withNotes in class ConnectionMonitorParametersnotes - the notes value to set.public void validate()
validate in class ConnectionMonitorParametersIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.