ConnectionMonitorEndpointLocationDetails Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ConnectionMonitorEndpointLocationDetails
- com.
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 Connection |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Connection |
fromJson(JsonReader jsonReader)
Reads an instance of Connection |
String |
region()
Get the region property: Region for connection monitor endpoint. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Connection |
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:
Returns:
Throws:
region
public String region()
Get the region property: Region for connection monitor endpoint.
Returns:
toJson
validate
public void validate()
Validates the instance.
withRegion
public ConnectionMonitorEndpointLocationDetails withRegion(String region)
Set the region property: Region for connection monitor endpoint.
Parameters:
Returns:
Applies to
Azure SDK for Java