Class QuotaRuleSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.filestorage.model.QuotaRuleSummary.Builder
 
- 
- Enclosing class:
- QuotaRuleSummary
 
 public static class QuotaRuleSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description QuotaRuleSummary.BuilderareViolatorsOnly(Boolean areViolatorsOnly)An option to display only the users or groups that violate their quota rules.QuotaRuleSummarybuild()QuotaRuleSummary.Buildercopy(QuotaRuleSummary model)QuotaRuleSummary.BuilderdisplayName(String displayName)A user-friendly name.QuotaRuleSummary.BuilderfileSystemId(String fileSystemId)The OCID of the file system.QuotaRuleSummary.Builderid(String id)The identifier of the quota rule.QuotaRuleSummary.BuilderisHardQuota(Boolean isHardQuota)Whether the quota rule will be enforced.QuotaRuleSummary.BuilderprincipalId(Integer principalId)An identifier for the user or the group associated with quota rule and usage.QuotaRuleSummary.BuilderprincipalType(QuotaRuleSummary.PrincipalType principalType)The type of the owner of this quota rule and usage.QuotaRuleSummary.BuilderquotaLimitInGigabytes(Integer quotaLimitInGigabytes)The value of the quota rule in gigabytes.QuotaRuleSummary.BuildertimeCreated(Date timeCreated)The date and time the quota rule was created, expressed in RFC 3339 timestamp format.QuotaRuleSummary.BuildertimeUpdated(Date timeUpdated)The date and time the quota rule was last updated, expressed in RFC 3339 timestamp format.QuotaRuleSummary.BuilderusageInBytes(Long usageInBytes)The usage value corresponding to this principal in bytes.
 
- 
- 
- 
Method Detail- 
idpublic QuotaRuleSummary.Builder id(String id) The identifier of the quota rule.It is the base64 encoded string of the tuple <principalId, principalType, isHardQuota>. - Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
fileSystemIdpublic QuotaRuleSummary.Builder fileSystemId(String fileSystemId) The OCID of the file system.- Parameters:
- fileSystemId- the value to set
- Returns:
- this builder
 
 - 
principalTypepublic QuotaRuleSummary.Builder principalType(QuotaRuleSummary.PrincipalType principalType) The type of the owner of this quota rule and usage.- Parameters:
- principalType- the value to set
- Returns:
- this builder
 
 - 
principalIdpublic QuotaRuleSummary.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
 
 - 
isHardQuotapublic QuotaRuleSummary.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
 
 - 
displayNamepublic QuotaRuleSummary.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
 
 - 
usageInBytespublic QuotaRuleSummary.Builder usageInBytes(Long usageInBytes) The usage value corresponding to this principal in bytes.- Parameters:
- usageInBytes- the value to set
- Returns:
- this builder
 
 - 
quotaLimitInGigabytespublic QuotaRuleSummary.Builder quotaLimitInGigabytes(Integer quotaLimitInGigabytes) The value of the quota rule in gigabytes.- Parameters:
- quotaLimitInGigabytes- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic QuotaRuleSummary.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 - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic QuotaRuleSummary.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 - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
areViolatorsOnlypublic QuotaRuleSummary.Builder areViolatorsOnly(Boolean areViolatorsOnly) An option to display only the users or groups that violate their quota rules.If areViolatorsOnly is false, results report all the quota and usage. If areViolatorsOnly is true, results only report the quota and usage for the users or groups that violate their quota rules. - Parameters:
- areViolatorsOnly- the value to set
- Returns:
- this builder
 
 - 
buildpublic QuotaRuleSummary build() 
 - 
copypublic QuotaRuleSummary.Builder copy(QuotaRuleSummary model) 
 
- 
 
-