Class AvailableServiceSkuInner

java.lang.Object
com.azure.resourcemanager.datamigration.fluent.models.AvailableServiceSkuInner

public final class AvailableServiceSkuInner extends Object
Describes the available service SKU.
  • Constructor Details

    • AvailableServiceSkuInner

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

    • resourceType

      public String resourceType()
      Get the resourceType property: The resource type, including the provider namespace.
      Returns:
      the resourceType value.
    • withResourceType

      public AvailableServiceSkuInner withResourceType(String resourceType)
      Set the resourceType property: The resource type, including the provider namespace.
      Parameters:
      resourceType - the resourceType value to set.
      Returns:
      the AvailableServiceSkuInner object itself.
    • sku

      public AvailableServiceSkuSku sku()
      Get the sku property: SKU name, tier, etc.
      Returns:
      the sku value.
    • withSku

      Set the sku property: SKU name, tier, etc.
      Parameters:
      sku - the sku value to set.
      Returns:
      the AvailableServiceSkuInner object itself.
    • capacity

      public AvailableServiceSkuCapacity capacity()
      Get the capacity property: A description of the scaling capacities of the SKU.
      Returns:
      the capacity value.
    • withCapacity

      public AvailableServiceSkuInner withCapacity(AvailableServiceSkuCapacity capacity)
      Set the capacity property: A description of the scaling capacities of the SKU.
      Parameters:
      capacity - the capacity value to set.
      Returns:
      the AvailableServiceSkuInner object itself.
    • validate

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