Share via


ConnectionMonitorInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.ConnectionMonitorInner

Implements

public final class ConnectionMonitorInner
implements JsonSerializable<ConnectionMonitorInner>

Parameters that define the operation to create a connection monitor.

Constructor Summary

Constructor Description
ConnectionMonitorInner()

Creates an instance of ConnectionMonitorInner 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.

ConnectionMonitorDestination destination()

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

List<ConnectionMonitorEndpoint> endpoints()

Get the endpoints property: List of connection monitor endpoints.

static ConnectionMonitorInner fromJson(JsonReader jsonReader)

Reads an instance of ConnectionMonitorInner from the JsonReader.

String location()

Get the location property: Connection monitor location.

Integer monitoringIntervalInSeconds()

Get the monitoringIntervalInSeconds property: Monitoring interval in seconds.

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.

ConnectionMonitorSource source()

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

Map<String,String> tags()

Get the tags property: Connection monitor tags.

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)
void validate()

Validates the instance.

ConnectionMonitorInner withAutoStart(Boolean autoStart)

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

ConnectionMonitorInner withDestination(ConnectionMonitorDestination destination)

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

ConnectionMonitorInner withEndpoints(List<ConnectionMonitorEndpoint> endpoints)

Set the endpoints property: List of connection monitor endpoints.

ConnectionMonitorInner withLocation(String location)

Set the location property: Connection monitor location.

ConnectionMonitorInner withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)

Set the monitoringIntervalInSeconds property: Monitoring interval in seconds.

ConnectionMonitorInner withNotes(String notes)

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

ConnectionMonitorInner withOutputs(List<ConnectionMonitorOutput> outputs)

Set the outputs property: List of connection monitor outputs.

ConnectionMonitorInner withSource(ConnectionMonitorSource source)

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

ConnectionMonitorInner withTags(Map<String,String> tags)

Set the tags property: Connection monitor tags.

ConnectionMonitorInner withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)

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

ConnectionMonitorInner withTestGroups(List<ConnectionMonitorTestGroup> testGroups)

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

Methods inherited from java.lang.Object

Constructor Details

ConnectionMonitorInner

public ConnectionMonitorInner()

Creates an instance of ConnectionMonitorInner 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.

destination

public ConnectionMonitorDestination destination()

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

Returns:

the destination value.

endpoints

public List<ConnectionMonitorEndpoint> endpoints()

Get the endpoints property: List of connection monitor endpoints.

Returns:

the endpoints value.

fromJson

public static ConnectionMonitorInner fromJson(JsonReader jsonReader)

Reads an instance of ConnectionMonitorInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConnectionMonitorInner 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.

location

public String location()

Get the location property: Connection monitor location.

Returns:

the location value.

monitoringIntervalInSeconds

public Integer monitoringIntervalInSeconds()

Get the monitoringIntervalInSeconds property: Monitoring interval in seconds.

Returns:

the monitoringIntervalInSeconds 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<ConnectionMonitorOutput> outputs()

Get the outputs property: List of connection monitor outputs.

Returns:

the outputs value.

source

public ConnectionMonitorSource source()

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

Returns:

the source value.

tags

public Map<String,String> tags()

Get the tags property: Connection monitor tags.

Returns:

the tags value.

testConfigurations

public List<ConnectionMonitorTestConfiguration> testConfigurations()

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

Returns:

the testConfigurations value.

testGroups

public List<ConnectionMonitorTestGroup> testGroups()

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

Returns:

the testGroups value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAutoStart

public ConnectionMonitorInner 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 ConnectionMonitorInner object itself.

withDestination

public ConnectionMonitorInner withDestination(ConnectionMonitorDestination destination)

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

Parameters:

destination - the destination value to set.

Returns:

the ConnectionMonitorInner object itself.

withEndpoints

public ConnectionMonitorInner withEndpoints(List<ConnectionMonitorEndpoint> endpoints)

Set the endpoints property: List of connection monitor endpoints.

Parameters:

endpoints - the endpoints value to set.

Returns:

the ConnectionMonitorInner object itself.

withLocation

public ConnectionMonitorInner withLocation(String location)

Set the location property: Connection monitor location.

Parameters:

location - the location value to set.

Returns:

the ConnectionMonitorInner object itself.

withMonitoringIntervalInSeconds

public ConnectionMonitorInner withMonitoringIntervalInSeconds(Integer monitoringIntervalInSeconds)

Set the monitoringIntervalInSeconds property: Monitoring interval in seconds.

Parameters:

monitoringIntervalInSeconds - the monitoringIntervalInSeconds value to set.

Returns:

the ConnectionMonitorInner object itself.

withNotes

public ConnectionMonitorInner 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 ConnectionMonitorInner object itself.

withOutputs

public ConnectionMonitorInner withOutputs(List<ConnectionMonitorOutput> outputs)

Set the outputs property: List of connection monitor outputs.

Parameters:

outputs - the outputs value to set.

Returns:

the ConnectionMonitorInner object itself.

withSource

public ConnectionMonitorInner withSource(ConnectionMonitorSource source)

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

Parameters:

source - the source value to set.

Returns:

the ConnectionMonitorInner object itself.

withTags

public ConnectionMonitorInner withTags(Map<String,String> tags)

Set the tags property: Connection monitor tags.

Parameters:

tags - the tags value to set.

Returns:

the ConnectionMonitorInner object itself.

withTestConfigurations

public ConnectionMonitorInner withTestConfigurations(List<ConnectionMonitorTestConfiguration> testConfigurations)

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

Parameters:

testConfigurations - the testConfigurations value to set.

Returns:

the ConnectionMonitorInner object itself.

withTestGroups

public ConnectionMonitorInner withTestGroups(List<ConnectionMonitorTestGroup> testGroups)

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

Parameters:

testGroups - the testGroups value to set.

Returns:

the ConnectionMonitorInner object itself.

Applies to