Package com.oracle.bmc.filestorage.model
Class QuotaRule.Builder
- java.lang.Object
- 
- com.oracle.bmc.filestorage.model.QuotaRule.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description QuotaRulebuild()QuotaRule.Buildercopy(QuotaRule model)QuotaRule.BuilderdisplayName(String displayName)A user-friendly name.QuotaRule.BuilderfileSystemId(String fileSystemId)The OCID of the file System.QuotaRule.Builderid(String id)The identifier of the quota rule.QuotaRule.BuilderisHardQuota(Boolean isHardQuota)Whether the quota rule will be enforced.QuotaRule.BuilderprincipalId(Integer principalId)An identifier for the user or the group associated with quota rule and usage.QuotaRule.BuilderprincipalType(QuotaRule.PrincipalType principalType)The type of the owner of this quota rule and usage.QuotaRule.BuilderquotaLimitInGigabytes(Integer quotaLimitInGigabytes)The value of the quota rule in gigabytes.QuotaRule.BuildertimeCreated(Date timeCreated)The date and time the quota rule was created, expressed in RFC 3339 timestamp format.QuotaRule.BuildertimeUpdated(Date timeUpdated)The date and time the quota rule was last updated, expressed in RFC 3339 timestamp format.
 
- 
- 
- 
Method Detail- 
idpublic QuotaRule.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 QuotaRule.Builder fileSystemId(String fileSystemId) The OCID of the file System.- Parameters:
- fileSystemId- the value to set
- Returns:
- this builder
 
 - 
principalTypepublic QuotaRule.Builder principalType(QuotaRule.PrincipalType principalType) The type of the owner of this quota rule and usage.- Parameters:
- principalType- the value to set
- Returns:
- this builder
 
 - 
principalIdpublic 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. - Parameters:
- principalId- the value to set
- Returns:
- this builder
 
 - 
isHardQuotapublic 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. - Parameters:
- isHardQuota- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic 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 - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
quotaLimitInGigabytespublic QuotaRule.Builder quotaLimitInGigabytes(Integer quotaLimitInGigabytes) The value of the quota rule in gigabytes.- Parameters:
- quotaLimitInGigabytes- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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 - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic 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 - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
buildpublic QuotaRule build() 
 - 
copypublic QuotaRule.Builder copy(QuotaRule model) 
 
- 
 
-