Package com.oracle.bmc.filestorage.model
Class CreateQuotaRuleDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.filestorage.model.CreateQuotaRuleDetails.Builder
 
- 
- Enclosing class:
- CreateQuotaRuleDetails
 
 public static class CreateQuotaRuleDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateQuotaRuleDetailsbuild()CreateQuotaRuleDetails.Buildercopy(CreateQuotaRuleDetails model)CreateQuotaRuleDetails.BuilderdisplayName(String displayName)A user-friendly name.CreateQuotaRuleDetails.BuilderisHardQuota(Boolean isHardQuota)Whether the quota rule will be enforced.CreateQuotaRuleDetails.BuilderprincipalId(Integer principalId)An identifier for the user or the group associated with quota rule and usage.CreateQuotaRuleDetails.BuilderprincipalType(CreateQuotaRuleDetails.PrincipalType principalType)The type of the owner of this quota rule and usage.CreateQuotaRuleDetails.BuilderquotaLimitInGigabytes(Integer quotaLimitInGigabytes)The value of the quota rule in gigabytes.
 
- 
- 
- 
Method Detail- 
principalTypepublic CreateQuotaRuleDetails.Builder principalType(CreateQuotaRuleDetails.PrincipalType principalType) The type of the owner of this quota rule and usage.- Parameters:
- principalType- the value to set
- Returns:
- this builder
 
 - 
principalIdpublic 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
 
 - 
isHardQuotapublic 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
 
 - 
displayNamepublic 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
 
 - 
quotaLimitInGigabytespublic CreateQuotaRuleDetails.Builder quotaLimitInGigabytes(Integer quotaLimitInGigabytes) The value of the quota rule in gigabytes.- Parameters:
- quotaLimitInGigabytes- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateQuotaRuleDetails build() 
 - 
copypublic CreateQuotaRuleDetails.Builder copy(CreateQuotaRuleDetails model) 
 
- 
 
-