Class CreateQuotaRuleDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • principalId

        public CreateQuotaRuleDetails.Builder principalId​(Integer principalId)
        An identifier for the user or the group associated with quota rule and usage.

        UNIX-like operating systems use this integer value to identify a user or group to manage access control.

        Parameters:
        principalId - the value to set
        Returns:
        this builder
      • isHardQuota

        public CreateQuotaRuleDetails.Builder isHardQuota​(Boolean isHardQuota)
        Whether the quota rule will be enforced.

        If isHardQuota is true, the quota rule is enforced so that the write is blocked if usage exceeds the hard quota limit. If isHardQuota is false, writes succeed even if usage exceeds the soft quota limit, but the quota rule is violated.

        Parameters:
        isHardQuota - the value to set
        Returns:
        this builder
      • displayName

        public CreateQuotaRuleDetails.Builder displayName​(String displayName)
        A user-friendly name.

        It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: UserXYZ’s quota

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • quotaLimitInGigabytes

        public CreateQuotaRuleDetails.Builder quotaLimitInGigabytes​(Integer quotaLimitInGigabytes)
        The value of the quota rule in gigabytes.
        Parameters:
        quotaLimitInGigabytes - the value to set
        Returns:
        this builder