Package com.oracle.bmc.filestorage.model
Class CreateFileSystemDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.filestorage.model.CreateFileSystemDetails.Builder
 
- 
- Enclosing class:
- CreateFileSystemDetails
 
 public static class CreateFileSystemDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateFileSystemDetails.BuilderareQuotaRulesEnabled(Boolean areQuotaRulesEnabled)Specifies the enforcement of quota rules on the file system.CreateFileSystemDetails.BuilderavailabilityDomain(String availabilityDomain)The availability domain to create the file system in.CreateFileSystemDetailsbuild()CreateFileSystemDetails.BuildercloneAttachStatus(CreateFileSystemDetails.CloneAttachStatus cloneAttachStatus)Specifies whether the clone file system is attached to its parent file system.CreateFileSystemDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment to create the file system in.CreateFileSystemDetails.Buildercopy(CreateFileSystemDetails model)CreateFileSystemDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateFileSystemDetails.BuilderdisplayName(String displayName)A user-friendly name.CreateFileSystemDetails.BuilderfilesystemSnapshotPolicyId(String filesystemSnapshotPolicyId)The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.CreateFileSystemDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateFileSystemDetails.BuilderkmsKeyId(String kmsKeyId)The OCID of the KMS key used to encrypt the encryption keys associated with this file system.CreateFileSystemDetails.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.CreateFileSystemDetails.BuildersourceSnapshotId(String sourceSnapshotId)The OCID of the snapshot used to create a cloned file system.
 
- 
- 
- 
Method Detail- 
availabilityDomainpublic CreateFileSystemDetails.Builder availabilityDomain(String availabilityDomain) The availability domain to create the file system in.Example: Uocm:PHX-AD-1 - Parameters:
- availabilityDomain- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic CreateFileSystemDetails.Builder compartmentId(String compartmentId) The OCID of the compartment to create the file system in.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic CreateFileSystemDetails.Builder displayName(String displayName) A user-friendly name.It does not have to be unique, and it is changeable. Avoid entering confidential information. Example: My file system - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic CreateFileSystemDetails.Builder freeformTags(Map<String,String> freeformTags) Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic CreateFileSystemDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
lockspublic CreateFileSystemDetails.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
kmsKeyIdpublic CreateFileSystemDetails.Builder kmsKeyId(String kmsKeyId) The OCID of the KMS key used to encrypt the encryption keys associated with this file system.- Parameters:
- kmsKeyId- the value to set
- Returns:
- this builder
 
 - 
sourceSnapshotIdpublic CreateFileSystemDetails.Builder sourceSnapshotId(String sourceSnapshotId) The OCID of the snapshot used to create a cloned file system.- Parameters:
- sourceSnapshotId- the value to set
- Returns:
- this builder
 
 - 
cloneAttachStatuspublic CreateFileSystemDetails.Builder cloneAttachStatus(CreateFileSystemDetails.CloneAttachStatus cloneAttachStatus) Specifies whether the clone file system is attached to its parent file system.If the value is set to ‘DETACH’, then the file system will be created, which is deep copied from the snapshot specified by sourceSnapshotId, else will remain attached to its parent. - Parameters:
- cloneAttachStatus- the value to set
- Returns:
- this builder
 
 - 
filesystemSnapshotPolicyIdpublic CreateFileSystemDetails.Builder filesystemSnapshotPolicyId(String filesystemSnapshotPolicyId) The OCID of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots.May be unset as a blank value. - Parameters:
- filesystemSnapshotPolicyId- the value to set
- Returns:
- this builder
 
 - 
areQuotaRulesEnabledpublic CreateFileSystemDetails.Builder areQuotaRulesEnabled(Boolean areQuotaRulesEnabled) Specifies the enforcement of quota rules on the file system.- Parameters:
- areQuotaRulesEnabled- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateFileSystemDetails build() 
 - 
copypublic CreateFileSystemDetails.Builder copy(CreateFileSystemDetails model) 
 
- 
 
-