Class MicrosoftGraphSizeRange

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSizeRange

public final class MicrosoftGraphSizeRange extends Object
sizeRange.
  • Constructor Details

    • MicrosoftGraphSizeRange

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

    • maximumSize

      public Integer maximumSize()
      Get the maximumSize property: The maximum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.
      Returns:
      the maximumSize value.
    • withMaximumSize

      public MicrosoftGraphSizeRange withMaximumSize(Integer maximumSize)
      Set the maximumSize property: The maximum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.
      Parameters:
      maximumSize - the maximumSize value to set.
      Returns:
      the MicrosoftGraphSizeRange object itself.
    • minimumSize

      public Integer minimumSize()
      Get the minimumSize property: The minimum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.
      Returns:
      the minimumSize value.
    • withMinimumSize

      public MicrosoftGraphSizeRange withMinimumSize(Integer minimumSize)
      Set the minimumSize property: The minimum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.
      Parameters:
      minimumSize - the minimumSize value to set.
      Returns:
      the MicrosoftGraphSizeRange object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: sizeRange.
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphSizeRange withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: sizeRange.
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphSizeRange object itself.
    • validate

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