Class UpdateWorkspaceQuotas


  • public final class UpdateWorkspaceQuotas
    extends Object
    The properties for update Quota response.
    • Constructor Detail

      • UpdateWorkspaceQuotas

        public UpdateWorkspaceQuotas()
    • Method Detail

      • id

        public String id()
        Get the id property: Specifies the resource ID.
        Returns:
        the id value.
      • type

        public String type()
        Get the type property: Specifies the resource type.
        Returns:
        the type value.
      • limit

        public Long limit()
        Get the limit property: Limit. The maximum permitted quota of the resource.
        Returns:
        the limit value.
      • withLimit

        public UpdateWorkspaceQuotas withLimit​(Long limit)
        Set the limit property: Limit. The maximum permitted quota of the resource.
        Parameters:
        limit - the limit value to set.
        Returns:
        the UpdateWorkspaceQuotas object itself.
      • unit

        public QuotaUnit unit()
        Get the unit property: An enum describing the unit of quota measurement.
        Returns:
        the unit value.
      • status

        public Status status()
        Get the status property: Update Workspace Quota Status. Status of update workspace quota.
        Returns:
        the status value.
      • withStatus

        public UpdateWorkspaceQuotas withStatus​(Status status)
        Set the status property: Update Workspace Quota Status. Status of update workspace quota.
        Parameters:
        status - the status value to set.
        Returns:
        the UpdateWorkspaceQuotas object itself.
      • validate

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