Class ConnectionMonitorResultProperties
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.ConnectionMonitorParameters
-
- com.azure.resourcemanager.network.fluent.models.ConnectionMonitorResultProperties
-
public final class ConnectionMonitorResultProperties extends ConnectionMonitorParameters
Describes the properties of a connection monitor.
-
-
Constructor Summary
Constructors Constructor Description ConnectionMonitorResultProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionMonitorTypeconnectionMonitorType()Get the connectionMonitorType property: Type of connection monitor.StringmonitoringStatus()Get the monitoringStatus property: The monitoring status of the connection monitor.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the connection monitor.OffsetDateTimestartTime()Get the startTime property: The date and time when the connection monitor was started.voidvalidate()Validates the instance.ConnectionMonitorResultPropertieswithAutoStart(Boolean autoStart)Set the autoStart property: Determines if the connection monitor will start automatically once created.ConnectionMonitorResultPropertieswithDestination(ConnectionMonitorDestination destination)Set the destination property: Describes the destination of connection monitor.ConnectionMonitorResultPropertieswithEndpoints(List<ConnectionMonitorEndpoint> endpoints)Set the endpoints property: List of connection monitor endpoints.ConnectionMonitorResultPropertieswithMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)Set the monitoringIntervalInSeconds property: Monitoring interval in seconds.ConnectionMonitorResultPropertieswithNotes(String notes)Set the notes property: Optional notes to be associated with the connection monitor.ConnectionMonitorResultPropertieswithOutputs(List<ConnectionMonitorOutput> outputs)Set the outputs property: List of connection monitor outputs.ConnectionMonitorResultPropertieswithSource(ConnectionMonitorSource source)Set the source property: Describes the source of connection monitor.ConnectionMonitorResultPropertieswithTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)Set the testConfigurations property: List of connection monitor test configurations.ConnectionMonitorResultPropertieswithTestGroups(List<ConnectionMonitorTestGroup> testGroups)Set the testGroups property: List of connection monitor test groups.-
Methods inherited from class com.azure.resourcemanager.network.fluent.models.ConnectionMonitorParameters
autoStart, destination, endpoints, monitoringIntervalInSeconds, notes, outputs, source, testConfigurations, testGroups
-
-
-
-
Method Detail
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the connection monitor.- Returns:
- the provisioningState value.
-
startTime
public OffsetDateTime startTime()
Get the startTime property: The date and time when the connection monitor was started.- Returns:
- the startTime value.
-
monitoringStatus
public String monitoringStatus()
Get the monitoringStatus property: The monitoring status of the connection monitor.- Returns:
- the monitoringStatus value.
-
connectionMonitorType
public ConnectionMonitorType connectionMonitorType()
Get the connectionMonitorType property: Type of connection monitor.- Returns:
- the connectionMonitorType value.
-
withSource
public ConnectionMonitorResultProperties withSource(ConnectionMonitorSource source)
Set the source property: Describes the source of connection monitor.- Overrides:
withSourcein classConnectionMonitorParameters- Parameters:
source- the source value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
withDestination
public ConnectionMonitorResultProperties withDestination(ConnectionMonitorDestination destination)
Set the destination property: Describes the destination of connection monitor.- Overrides:
withDestinationin classConnectionMonitorParameters- Parameters:
destination- the destination value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
withAutoStart
public ConnectionMonitorResultProperties withAutoStart(Boolean autoStart)
Set the autoStart property: Determines if the connection monitor will start automatically once created.- Overrides:
withAutoStartin classConnectionMonitorParameters- Parameters:
autoStart- the autoStart value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
withMonitoringIntervalInSeconds
public ConnectionMonitorResultProperties withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
Set the monitoringIntervalInSeconds property: Monitoring interval in seconds.- Overrides:
withMonitoringIntervalInSecondsin classConnectionMonitorParameters- Parameters:
monitoringIntervalInSeconds- the monitoringIntervalInSeconds value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
withEndpoints
public ConnectionMonitorResultProperties withEndpoints(List<ConnectionMonitorEndpoint> endpoints)
Set the endpoints property: List of connection monitor endpoints.- Overrides:
withEndpointsin classConnectionMonitorParameters- Parameters:
endpoints- the endpoints value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
withTestConfigurations
public ConnectionMonitorResultProperties withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)
Set the testConfigurations property: List of connection monitor test configurations.- Overrides:
withTestConfigurationsin classConnectionMonitorParameters- Parameters:
testConfigurations- the testConfigurations value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
withTestGroups
public ConnectionMonitorResultProperties withTestGroups(List<ConnectionMonitorTestGroup> testGroups)
Set the testGroups property: List of connection monitor test groups.- Overrides:
withTestGroupsin classConnectionMonitorParameters- Parameters:
testGroups- the testGroups value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
withOutputs
public ConnectionMonitorResultProperties withOutputs(List<ConnectionMonitorOutput> outputs)
Set the outputs property: List of connection monitor outputs.- Overrides:
withOutputsin classConnectionMonitorParameters- Parameters:
outputs- the outputs value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
withNotes
public ConnectionMonitorResultProperties withNotes(String notes)
Set the notes property: Optional notes to be associated with the connection monitor.- Overrides:
withNotesin classConnectionMonitorParameters- Parameters:
notes- the notes value to set.- Returns:
- the ConnectionMonitorParameters object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classConnectionMonitorParameters- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-