Class SubRequest


  • public final class SubRequest
    extends Object
    Request property.
    • Constructor Detail

      • SubRequest

        public SubRequest()
    • Method Detail

      • name

        public ResourceName name()
        Get the name property: Resource name.
        Returns:
        the name value.
      • withName

        public SubRequest withName​(ResourceName name)
        Set the name property: Resource name.
        Parameters:
        name - the name value to set.
        Returns:
        the SubRequest object itself.
      • resourceType

        public String resourceType()
        Get the resourceType property: Resource type for which the quota properties were requested.
        Returns:
        the resourceType value.
      • unit

        public String unit()
        Get the unit property: Quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.
        Returns:
        the unit value.
      • withUnit

        public SubRequest withUnit​(String unit)
        Set the unit property: Quota limit units, such as Count and Bytes. When requesting quota, use the **unit** value returned in the GET response in the request body of your PUT operation.
        Parameters:
        unit - the unit value to set.
        Returns:
        the SubRequest object itself.
      • provisioningState

        public QuotaRequestState provisioningState()
        Get the provisioningState property: The quota request status.
        Returns:
        the provisioningState value.
      • message

        public String message()
        Get the message property: User-friendly status message.
        Returns:
        the message value.
      • subRequestId

        public String subRequestId()
        Get the subRequestId property: Quota request ID.
        Returns:
        the subRequestId value.
      • limit

        public LimitJsonObject limit()
        Get the limit property: Resource quota limit properties.
        Returns:
        the limit value.
      • withLimit

        public SubRequest withLimit​(LimitJsonObject limit)
        Set the limit property: Resource quota limit properties.
        Parameters:
        limit - the limit value to set.
        Returns:
        the SubRequest object itself.
      • validate

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