Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
QuotaRule |
build() |
QuotaRule.Builder |
copy(QuotaRule model) |
QuotaRule.Builder |
displayName(String displayName)
A user-friendly name.
|
QuotaRule.Builder |
fileSystemId(String fileSystemId)
The OCID of the
file System.
|
QuotaRule.Builder |
id(String id)
The identifier of the quota rule.
|
QuotaRule.Builder |
isHardQuota(Boolean isHardQuota)
Whether the quota rule will be enforced.
|
QuotaRule.Builder |
principalId(Integer principalId)
An identifier for the user or the group associated with quota rule and usage.
|
QuotaRule.Builder |
principalType(QuotaRule.PrincipalType principalType)
The type of the owner of this quota rule and usage.
|
QuotaRule.Builder |
quotaLimitInGigabytes(Integer quotaLimitInGigabytes)
The value of the quota rule in gigabytes.
|
QuotaRule.Builder |
timeCreated(Date timeCreated)
The date and time the quota rule was created, expressed in RFC
3339 timestamp format.
|
QuotaRule.Builder |
timeUpdated(Date timeUpdated)
The date and time the quota rule was last updated, expressed in RFC
3339 timestamp format.
|
public QuotaRule.Builder id(String id)
The identifier of the quota rule. It is the base64 encoded string of the tuple <principalId, principalType, isHardQuota>.
id
- the value to setpublic QuotaRule.Builder fileSystemId(String fileSystemId)
The OCID of the file System.
fileSystemId
- the value to setpublic QuotaRule.Builder principalType(QuotaRule.PrincipalType principalType)
The type of the owner of this quota rule and usage.
principalType
- the value to setpublic QuotaRule.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.
principalId
- the value to setpublic QuotaRule.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.
isHardQuota
- the value to setpublic QuotaRule.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
displayName
- the value to setpublic QuotaRule.Builder quotaLimitInGigabytes(Integer quotaLimitInGigabytes)
The value of the quota rule in gigabytes.
quotaLimitInGigabytes
- the value to setpublic QuotaRule.Builder timeCreated(Date timeCreated)
The date and time the quota rule was created, expressed in RFC 3339 timestamp format.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic QuotaRule.Builder timeUpdated(Date timeUpdated)
The date and time the quota rule was last updated, expressed in RFC 3339 timestamp format.
Example: 2016-08-25T21:10:29.600Z
timeUpdated
- the value to setpublic QuotaRule build()
public QuotaRule.Builder copy(QuotaRule model)
Copyright © 2016–2025. All rights reserved.