Class AvailableServiceSkuCapacity

java.lang.Object
com.azure.resourcemanager.datamigration.models.AvailableServiceSkuCapacity

public final class AvailableServiceSkuCapacity extends Object
A description of the scaling capacities of the SKU.
  • Constructor Details

    • AvailableServiceSkuCapacity

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

    • minimum

      public Integer minimum()
      Get the minimum property: The minimum capacity, usually 0 or 1.
      Returns:
      the minimum value.
    • withMinimum

      public AvailableServiceSkuCapacity withMinimum(Integer minimum)
      Set the minimum property: The minimum capacity, usually 0 or 1.
      Parameters:
      minimum - the minimum value to set.
      Returns:
      the AvailableServiceSkuCapacity object itself.
    • maximum

      public Integer maximum()
      Get the maximum property: The maximum capacity.
      Returns:
      the maximum value.
    • withMaximum

      public AvailableServiceSkuCapacity withMaximum(Integer maximum)
      Set the maximum property: The maximum capacity.
      Parameters:
      maximum - the maximum value to set.
      Returns:
      the AvailableServiceSkuCapacity object itself.
    • defaultProperty

      public Integer defaultProperty()
      Get the defaultProperty property: The default capacity.
      Returns:
      the defaultProperty value.
    • withDefaultProperty

      public AvailableServiceSkuCapacity withDefaultProperty(Integer defaultProperty)
      Set the defaultProperty property: The default capacity.
      Parameters:
      defaultProperty - the defaultProperty value to set.
      Returns:
      the AvailableServiceSkuCapacity object itself.
    • scaleType

      public ServiceScalability scaleType()
      Get the scaleType property: The scalability approach.
      Returns:
      the scaleType value.
    • withScaleType

      public AvailableServiceSkuCapacity withScaleType(ServiceScalability scaleType)
      Set the scaleType property: The scalability approach.
      Parameters:
      scaleType - the scaleType value to set.
      Returns:
      the AvailableServiceSkuCapacity object itself.
    • validate

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