Class AzureCapacity

java.lang.Object
com.azure.resourcemanager.kusto.models.AzureCapacity

public final class AzureCapacity extends Object
Azure capacity definition.
  • Constructor Details

    • AzureCapacity

      public AzureCapacity()
  • Method Details

    • scaleType

      public AzureScaleType scaleType()
      Get the scaleType property: Scale type.
      Returns:
      the scaleType value.
    • withScaleType

      public AzureCapacity withScaleType(AzureScaleType scaleType)
      Set the scaleType property: Scale type.
      Parameters:
      scaleType - the scaleType value to set.
      Returns:
      the AzureCapacity object itself.
    • minimum

      public int minimum()
      Get the minimum property: Minimum allowed capacity.
      Returns:
      the minimum value.
    • withMinimum

      public AzureCapacity withMinimum(int minimum)
      Set the minimum property: Minimum allowed capacity.
      Parameters:
      minimum - the minimum value to set.
      Returns:
      the AzureCapacity object itself.
    • maximum

      public int maximum()
      Get the maximum property: Maximum allowed capacity.
      Returns:
      the maximum value.
    • withMaximum

      public AzureCapacity withMaximum(int maximum)
      Set the maximum property: Maximum allowed capacity.
      Parameters:
      maximum - the maximum value to set.
      Returns:
      the AzureCapacity object itself.
    • defaultProperty

      public int defaultProperty()
      Get the defaultProperty property: The default capacity that would be used.
      Returns:
      the defaultProperty value.
    • withDefaultProperty

      public AzureCapacity withDefaultProperty(int defaultProperty)
      Set the defaultProperty property: The default capacity that would be used.
      Parameters:
      defaultProperty - the defaultProperty value to set.
      Returns:
      the AzureCapacity object itself.
    • validate

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