ConnectionMonitorResultInner Class

public final class ConnectionMonitorResultInner
extends Resource

Information about the connection monitor.

Constructor Summary

Constructor Description
ConnectionMonitorResultInner()

Creates an instance of ConnectionMonitorResultInner class.

Method Summary

Modifier and Type Method and Description
Boolean autoStart()

Get the autoStart property: Determines if the connection monitor will start automatically once created.

ConnectionMonitorType connectionMonitorType()

Get the connectionMonitorType property: Type of connection monitor.

ConnectionMonitorDestination destination()

Get the destination property: Describes the destination of connection monitor.

List<ConnectionMonitorEndpoint> endpoints()

Get the endpoints property: List of connection monitor endpoints.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static ConnectionMonitorResultInner fromJson(JsonReader jsonReader)

Reads an instance of ConnectionMonitorResultInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

Integer monitoringIntervalInSeconds()

Get the monitoringIntervalInSeconds property: Monitoring interval in seconds.

String monitoringStatus()

Get the monitoringStatus property: The monitoring status of the connection monitor.

String name()

Get the name property: The name of the resource.

String notes()

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.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the connection monitor.

ConnectionMonitorSource source()

Get the source property: Describes the source of connection monitor.

OffsetDateTime startTime()

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.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ConnectionMonitorResultInner withAutoStart(Boolean autoStart)

Set the autoStart property: Determines if the connection monitor will start automatically once created.

ConnectionMonitorResultInner withDestination(ConnectionMonitorDestination destination)

Set the destination property: Describes the destination of connection monitor.

ConnectionMonitorResultInner withEndpoints(List<ConnectionMonitorEndpoint> endpoints)

Set the endpoints property: List of connection monitor endpoints.

ConnectionMonitorResultInner withLocation(String location)
ConnectionMonitorResultInner withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)

Set the monitoringIntervalInSeconds property: Monitoring interval in seconds.

ConnectionMonitorResultInner withNotes(String notes)

Set the notes property: Optional notes to be associated with the connection monitor.

ConnectionMonitorResultInner withOutputs(List<ConnectionMonitorOutput> outputs)

Set the outputs property: List of connection monitor outputs.

ConnectionMonitorResultInner withSource(ConnectionMonitorSource source)

Set the source property: Describes the source of connection monitor.

ConnectionMonitorResultInner withTags(Map<String,String> tags)
ConnectionMonitorResultInner withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)

Set the testConfigurations property: List of connection monitor test configurations.

ConnectionMonitorResultInner withTestGroups(List<ConnectionMonitorTestGroup> testGroups)

Set the testGroups property: List of connection monitor test groups.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ConnectionMonitorResultInner

public ConnectionMonitorResultInner()

Creates an instance of ConnectionMonitorResultInner class.

Method Details

autoStart

public Boolean autoStart()

Get the autoStart property: Determines if the connection monitor will start automatically once created.

Returns:

the autoStart value.

connectionMonitorType

public ConnectionMonitorType connectionMonitorType()

Get the connectionMonitorType property: Type of connection monitor.

Returns:

the connectionMonitorType value.

destination

public ConnectionMonitorDestination destination()

Get the destination property: Describes the destination of connection monitor.

Returns:

the destination value.

endpoints

public List endpoints()

Get the endpoints property: List of connection monitor endpoints.

Returns:

the endpoints value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static ConnectionMonitorResultInner fromJson(JsonReader jsonReader)

Reads an instance of ConnectionMonitorResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConnectionMonitorResultInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ConnectionMonitorResultInner.id()

Returns:

the id value.

monitoringIntervalInSeconds

public Integer monitoringIntervalInSeconds()

Get the monitoringIntervalInSeconds property: Monitoring interval in seconds.

Returns:

the monitoringIntervalInSeconds value.

monitoringStatus

public String monitoringStatus()

Get the monitoringStatus property: The monitoring status of the connection monitor.

Returns:

the monitoringStatus value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ConnectionMonitorResultInner.name()

Returns:

the name value.

notes

public String notes()

Get the notes property: Optional notes to be associated with the connection monitor.

Returns:

the notes value.

outputs

public List outputs()

Get the outputs property: List of connection monitor outputs.

Returns:

the outputs value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the connection monitor.

Returns:

the provisioningState value.

source

public ConnectionMonitorSource source()

Get the source property: Describes the source of connection monitor.

Returns:

the source value.

startTime

public OffsetDateTime startTime()

Get the startTime property: The date and time when the connection monitor was started.

Returns:

the startTime value.

testConfigurations

public List testConfigurations()

Get the testConfigurations property: List of connection monitor test configurations.

Returns:

the testConfigurations value.

testGroups

public List testGroups()

Get the testGroups property: List of connection monitor test groups.

Returns:

the testGroups value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ConnectionMonitorResultInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ConnectionMonitorResultInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

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.

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.

withEndpoints

public ConnectionMonitorResultInner withEndpoints(List endpoints)

Set the endpoints property: List of connection monitor endpoints.

Parameters:

endpoints - the endpoints value to set.

Returns:

the ConnectionMonitorResultInner object itself.

withLocation

public ConnectionMonitorResultInner withLocation(String location)

Overrides:

ConnectionMonitorResultInner.withLocation(String location)

Parameters:

location

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.

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.

withOutputs

public ConnectionMonitorResultInner withOutputs(List outputs)

Set the outputs property: List of connection monitor outputs.

Parameters:

outputs - the outputs value to set.

Returns:

the ConnectionMonitorResultInner object itself.

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.

withTags

public ConnectionMonitorResultInner withTags(Map tags)

Overrides:

ConnectionMonitorResultInner.withTags(Map<String,String> tags)

Parameters:

tags

withTestConfigurations

public ConnectionMonitorResultInner withTestConfigurations(List testConfigurations)

Set the testConfigurations property: List of connection monitor test configurations.

Parameters:

testConfigurations - the testConfigurations value to set.

Returns:

the ConnectionMonitorResultInner object itself.

withTestGroups

public ConnectionMonitorResultInner withTestGroups(List testGroups)

Set the testGroups property: List of connection monitor test groups.

Parameters:

testGroups - the testGroups value to set.

Returns:

the ConnectionMonitorResultInner object itself.

Applies to