java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.SkuInfosInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<SkuInfosInner>

public final class SkuInfosInner extends Object implements com.azure.json.JsonSerializable<SkuInfosInner>
Collection of SKU information.
  • Constructor Details

    • SkuInfosInner

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

    • resourceType

      public String resourceType()
      Get the resourceType property: Resource type that this SKU applies to.
      Returns:
      the resourceType value.
    • withResourceType

      public SkuInfosInner withResourceType(String resourceType)
      Set the resourceType property: Resource type that this SKU applies to.
      Parameters:
      resourceType - the resourceType value to set.
      Returns:
      the SkuInfosInner object itself.
    • skus

      public List<GlobalCsmSkuDescription> skus()
      Get the skus property: List of SKUs the subscription is able to use.
      Returns:
      the skus value.
    • withSkus

      public SkuInfosInner withSkus(List<GlobalCsmSkuDescription> skus)
      Set the skus property: List of SKUs the subscription is able to use.
      Parameters:
      skus - the skus value to set.
      Returns:
      the SkuInfosInner object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<SkuInfosInner>
      Throws:
      IOException
    • fromJson

      public static SkuInfosInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of SkuInfosInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of SkuInfosInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the SkuInfosInner.