Class MicrosoftGraphSizeRange
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphSizeRange
sizeRange.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphSizeRange class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: sizeRange.Get the maximumSize property: The maximum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.Get the minimumSize property: The minimum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: sizeRange.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.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.
-
Constructor Details
-
MicrosoftGraphSizeRange
public MicrosoftGraphSizeRange()Creates an instance of MicrosoftGraphSizeRange class.
-
-
Method Details
-
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
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
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
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
Get the additionalProperties property: sizeRange.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
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.
-