Class ConnectionMonitorResultInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.network.fluent.models.ConnectionMonitorResultInner
-
public final class ConnectionMonitorResultInner extends com.azure.core.management.ResourceInformation about the connection monitor.
-
-
Constructor Summary
Constructors Constructor Description ConnectionMonitorResultInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanautoStart()Get the autoStart property: Determines if the connection monitor will start automatically once created.ConnectionMonitorTypeconnectionMonitorType()Get the connectionMonitorType property: Type of connection monitor.ConnectionMonitorDestinationdestination()Get the destination property: Describes the destination of connection monitor.List<ConnectionMonitorEndpoint>endpoints()Get the endpoints property: List of connection monitor endpoints.Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.IntegermonitoringIntervalInSeconds()Get the monitoringIntervalInSeconds property: Monitoring interval in seconds.StringmonitoringStatus()Get the monitoringStatus property: The monitoring status of the connection monitor.Stringnotes()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.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the connection monitor.ConnectionMonitorSourcesource()Get the source property: Describes the source of connection monitor.OffsetDateTimestartTime()Get the startTime property: The date and time when the connection monitor was started.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.voidvalidate()Validates the instance.ConnectionMonitorResultInnerwithAutoStart(Boolean autoStart)Set the autoStart property: Determines if the connection monitor will start automatically once created.ConnectionMonitorResultInnerwithDestination(ConnectionMonitorDestination destination)Set the destination property: Describes the destination of connection monitor.ConnectionMonitorResultInnerwithEndpoints(List<ConnectionMonitorEndpoint> endpoints)Set the endpoints property: List of connection monitor endpoints.ConnectionMonitorResultInnerwithLocation(String location)ConnectionMonitorResultInnerwithMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)Set the monitoringIntervalInSeconds property: Monitoring interval in seconds.ConnectionMonitorResultInnerwithNotes(String notes)Set the notes property: Optional notes to be associated with the connection monitor.ConnectionMonitorResultInnerwithOutputs(List<ConnectionMonitorOutput> outputs)Set the outputs property: List of connection monitor outputs.ConnectionMonitorResultInnerwithSource(ConnectionMonitorSource source)Set the source property: Describes the source of connection monitor.ConnectionMonitorResultInnerwithTags(Map<String,String> tags)ConnectionMonitorResultInnerwithTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)Set the testConfigurations property: List of connection monitor test configurations.ConnectionMonitorResultInnerwithTestGroups(List<ConnectionMonitorTestGroup> testGroups)Set the testGroups property: List of connection monitor test groups.
-
-
-
Method Detail
-
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
withLocation
public ConnectionMonitorResultInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public ConnectionMonitorResultInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
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.
-
source
public ConnectionMonitorSource source()
Get the source property: Describes the source of connection monitor.- Returns:
- the source value.
-
withSource
public ConnectionMonitorResultInner withSource(ConnectionMonitorSource source)
Set the source property: Describes the source of connection monitor.- Parameters:
source- the source value to set.- Returns:
- the ConnectionMonitorResultInner object itself.
-
destination
public ConnectionMonitorDestination destination()
Get the destination property: Describes the destination of connection monitor.- Returns:
- the destination value.
-
withDestination
public ConnectionMonitorResultInner withDestination(ConnectionMonitorDestination destination)
Set the destination property: Describes the destination of connection monitor.- Parameters:
destination- the destination value to set.- Returns:
- the ConnectionMonitorResultInner object itself.
-
autoStart
public Boolean autoStart()
Get the autoStart property: Determines if the connection monitor will start automatically once created.- Returns:
- the autoStart value.
-
withAutoStart
public ConnectionMonitorResultInner withAutoStart(Boolean autoStart)
Set the autoStart property: Determines if the connection monitor will start automatically once created.- Parameters:
autoStart- the autoStart value to set.- Returns:
- the ConnectionMonitorResultInner object itself.
-
monitoringIntervalInSeconds
public Integer monitoringIntervalInSeconds()
Get the monitoringIntervalInSeconds property: Monitoring interval in seconds.- Returns:
- the monitoringIntervalInSeconds value.
-
withMonitoringIntervalInSeconds
public ConnectionMonitorResultInner withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)
Set the monitoringIntervalInSeconds property: Monitoring interval in seconds.- Parameters:
monitoringIntervalInSeconds- the monitoringIntervalInSeconds value to set.- Returns:
- the ConnectionMonitorResultInner object itself.
-
endpoints
public List<ConnectionMonitorEndpoint> endpoints()
Get the endpoints property: List of connection monitor endpoints.- Returns:
- the endpoints value.
-
withEndpoints
public ConnectionMonitorResultInner withEndpoints(List<ConnectionMonitorEndpoint> endpoints)
Set the endpoints property: List of connection monitor endpoints.- Parameters:
endpoints- the endpoints value to set.- Returns:
- the ConnectionMonitorResultInner object itself.
-
testConfigurations
public List<ConnectionMonitorTestConfiguration> testConfigurations()
Get the testConfigurations property: List of connection monitor test configurations.- Returns:
- the testConfigurations value.
-
withTestConfigurations
public ConnectionMonitorResultInner withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)
Set the testConfigurations property: List of connection monitor test configurations.- Parameters:
testConfigurations- the testConfigurations value to set.- Returns:
- the ConnectionMonitorResultInner object itself.
-
testGroups
public List<ConnectionMonitorTestGroup> testGroups()
Get the testGroups property: List of connection monitor test groups.- Returns:
- the testGroups value.
-
withTestGroups
public ConnectionMonitorResultInner withTestGroups(List<ConnectionMonitorTestGroup> testGroups)
Set the testGroups property: List of connection monitor test groups.- Parameters:
testGroups- the testGroups value to set.- Returns:
- the ConnectionMonitorResultInner object itself.
-
outputs
public List<ConnectionMonitorOutput> outputs()
Get the outputs property: List of connection monitor outputs.- Returns:
- the outputs value.
-
withOutputs
public ConnectionMonitorResultInner withOutputs(List<ConnectionMonitorOutput> outputs)
Set the outputs property: List of connection monitor outputs.- Parameters:
outputs- the outputs value to set.- Returns:
- the ConnectionMonitorResultInner object itself.
-
notes
public String notes()
Get the notes property: Optional notes to be associated with the connection monitor.- Returns:
- the notes value.
-
withNotes
public ConnectionMonitorResultInner withNotes(String notes)
Set the notes property: Optional notes to be associated with the connection monitor.- Parameters:
notes- the notes value to set.- Returns:
- the ConnectionMonitorResultInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-