Class TrafficManagerGeographicHierarchyInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.trafficmanager.fluent.models.TrafficManagerGeographicHierarchyInner
public final class TrafficManagerGeographicHierarchyInner
extends com.azure.core.management.ProxyResource
Class representing the Geographic hierarchy used with the Geographic traffic routing method.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of TrafficManagerGeographicHierarchyInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the geographicHierarchy property: The region at the root of the hierarchy from all the regions in the hierarchy can be retrieved.voidvalidate()Validates the instance.withGeographicHierarchy(Region geographicHierarchy) Set the geographicHierarchy property: The region at the root of the hierarchy from all the regions in the hierarchy can be retrieved.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
TrafficManagerGeographicHierarchyInner
public TrafficManagerGeographicHierarchyInner()Creates an instance of TrafficManagerGeographicHierarchyInner class.
-
-
Method Details
-
geographicHierarchy
Get the geographicHierarchy property: The region at the root of the hierarchy from all the regions in the hierarchy can be retrieved.- Returns:
- the geographicHierarchy value.
-
withGeographicHierarchy
Set the geographicHierarchy property: The region at the root of the hierarchy from all the regions in the hierarchy can be retrieved.- Parameters:
geographicHierarchy- the geographicHierarchy value to set.- Returns:
- the TrafficManagerGeographicHierarchyInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-