Class ResourceSkuLocationInfo

java.lang.Object
com.azure.resourcemanager.storagecache.models.ResourceSkuLocationInfo

public final class ResourceSkuLocationInfo extends Object
Resource SKU location information.
  • Constructor Details

    • ResourceSkuLocationInfo

      public ResourceSkuLocationInfo()
  • Method Details

    • location

      public String location()
      Get the location property: Location where this SKU is available.
      Returns:
      the location value.
    • withLocation

      public ResourceSkuLocationInfo withLocation(String location)
      Set the location property: Location where this SKU is available.
      Parameters:
      location - the location value to set.
      Returns:
      the ResourceSkuLocationInfo object itself.
    • zones

      public List<String> zones()
      Get the zones property: Zones if any.
      Returns:
      the zones value.
    • withZones

      public ResourceSkuLocationInfo withZones(List<String> zones)
      Set the zones property: Zones if any.
      Parameters:
      zones - the zones value to set.
      Returns:
      the ResourceSkuLocationInfo object itself.
    • validate

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