Class SkuLocationAndZones

java.lang.Object
com.azure.resourcemanager.workloads.models.SkuLocationAndZones

public final class SkuLocationAndZones extends Object
The SKU location and zone.
  • Constructor Details

    • SkuLocationAndZones

      public SkuLocationAndZones()
  • Method Details

    • location

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

      public SkuLocationAndZones withLocation(String location)
      Set the location property: The location of the SKU.
      Parameters:
      location - the location value to set.
      Returns:
      the SkuLocationAndZones object itself.
    • zones

      public List<String> zones()
      Get the zones property: The availability zones of SKU location.
      Returns:
      the zones value.
    • withZones

      public SkuLocationAndZones withZones(List<String> zones)
      Set the zones property: The availability zones of SKU location.
      Parameters:
      zones - the zones value to set.
      Returns:
      the SkuLocationAndZones object itself.
    • zoneDetails

      public List<SkuZoneDetail> zoneDetails()
      Get the zoneDetails property: The availability zone details of the SKU location.
      Returns:
      the zoneDetails value.
    • withZoneDetails

      public SkuLocationAndZones withZoneDetails(List<SkuZoneDetail> zoneDetails)
      Set the zoneDetails property: The availability zone details of the SKU location.
      Parameters:
      zoneDetails - the zoneDetails value to set.
      Returns:
      the SkuLocationAndZones object itself.
    • extendedLocations

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

      public SkuLocationAndZones withExtendedLocations(List<String> extendedLocations)
      Set the extendedLocations property: The extended locations of SKU.
      Parameters:
      extendedLocations - the extendedLocations value to set.
      Returns:
      the SkuLocationAndZones object itself.
    • type

      public LocationType type()
      Get the type property: Type of the extended location.
      Returns:
      the type value.
    • withType

      public SkuLocationAndZones withType(LocationType type)
      Set the type property: Type of the extended location.
      Parameters:
      type - the type value to set.
      Returns:
      the SkuLocationAndZones object itself.
    • validate

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