ConnectionMonitorEndpointLocationDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ConnectionMonitorEndpointLocationDetails

Implements

public final class ConnectionMonitorEndpointLocationDetails
implements JsonSerializable<ConnectionMonitorEndpointLocationDetails>

Connection monitor endpoint location details only being used for 'AzureArcNetwork' type endpoints, which contains the region details.

Constructor Summary

Constructor Description
ConnectionMonitorEndpointLocationDetails()

Creates an instance of ConnectionMonitorEndpointLocationDetails class.

Method Summary

Modifier and Type Method and Description
static ConnectionMonitorEndpointLocationDetails fromJson(JsonReader jsonReader)

Reads an instance of ConnectionMonitorEndpointLocationDetails from the JsonReader.

String region()

Get the region property: Region for connection monitor endpoint.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ConnectionMonitorEndpointLocationDetails withRegion(String region)

Set the region property: Region for connection monitor endpoint.

Methods inherited from java.lang.Object

Constructor Details

ConnectionMonitorEndpointLocationDetails

public ConnectionMonitorEndpointLocationDetails()

Creates an instance of ConnectionMonitorEndpointLocationDetails class.

Method Details

fromJson

public static ConnectionMonitorEndpointLocationDetails fromJson(JsonReader jsonReader)

Reads an instance of ConnectionMonitorEndpointLocationDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the ConnectionMonitorEndpointLocationDetails.

region

public String region()

Get the region property: Region for connection monitor endpoint.

Returns:

the region value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withRegion

public ConnectionMonitorEndpointLocationDetails withRegion(String region)

Set the region property: Region for connection monitor endpoint.

Parameters:

region - the region value to set.

Returns:

the ConnectionMonitorEndpointLocationDetails object itself.

Applies to