com.azure.resourcemanager.network.models.ConnectionMonitorEndpointLocationDetails Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-network Show documentation
Show all versions of azure-resourcemanager-network Show documentation
This package contains Microsoft Azure Network Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.network.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Connection monitor endpoint location details only being used for 'AzureArcNetwork' type endpoints, which contains the
* region details.
*/
@Fluent
public final class ConnectionMonitorEndpointLocationDetails {
/*
* Region for connection monitor endpoint.
*/
@JsonProperty(value = "region")
private String region;
/**
* Creates an instance of ConnectionMonitorEndpointLocationDetails class.
*/
public ConnectionMonitorEndpointLocationDetails() {
}
/**
* Get the region property: Region for connection monitor endpoint.
*
* @return the region value.
*/
public String region() {
return this.region;
}
/**
* Set the region property: Region for connection monitor endpoint.
*
* @param region the region value to set.
* @return the ConnectionMonitorEndpointLocationDetails object itself.
*/
public ConnectionMonitorEndpointLocationDetails withRegion(String region) {
this.region = region;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}