Class ProviderExtendedLocation

java.lang.Object
com.azure.resourcemanager.resources.models.ProviderExtendedLocation

public final class ProviderExtendedLocation extends Object
The provider extended location.
  • Constructor Details

    • ProviderExtendedLocation

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

    • location

      public String location()
      Get the location property: The azure location.
      Returns:
      the location value.
    • withLocation

      public ProviderExtendedLocation withLocation(String location)
      Set the location property: The azure location.
      Parameters:
      location - the location value to set.
      Returns:
      the ProviderExtendedLocation object itself.
    • type

      public String type()
      Get the type property: The extended location type.
      Returns:
      the type value.
    • withType

      public ProviderExtendedLocation withType(String type)
      Set the type property: The extended location type.
      Parameters:
      type - the type value to set.
      Returns:
      the ProviderExtendedLocation object itself.
    • extendedLocations

      public List<String> extendedLocations()
      Get the extendedLocations property: The extended locations for the azure location.
      Returns:
      the extendedLocations value.
    • withExtendedLocations

      public ProviderExtendedLocation withExtendedLocations(List<String> extendedLocations)
      Set the extendedLocations property: The extended locations for the azure location.
      Parameters:
      extendedLocations - the extendedLocations value to set.
      Returns:
      the ProviderExtendedLocation object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.