Class MaxSizeCapability

java.lang.Object
com.azure.resourcemanager.sql.models.MaxSizeCapability

public final class MaxSizeCapability extends Object
The maximum size capability.
  • Constructor Details

    • MaxSizeCapability

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

    • limit

      public Integer limit()
      Get the limit property: The maximum size limit (see 'unit' for the units).
      Returns:
      the limit value.
    • unit

      public MaxSizeUnit unit()
      Get the unit property: The units that the limit is expressed in.
      Returns:
      the unit value.
    • validate

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