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 Details

    • TrafficManagerGeographicHierarchyInner

      public TrafficManagerGeographicHierarchyInner()
      Creates an instance of TrafficManagerGeographicHierarchyInner class.
  • Method Details

    • geographicHierarchy

      public Region 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

      public TrafficManagerGeographicHierarchyInner 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.
      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.