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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateFileSystemDetails.Builder
areQuotaRulesEnabled(Boolean areQuotaRulesEnabled)
Specifies the enforcement of quota rules on the file system.CreateFileSystemDetails.Builder
availabilityDomain(String availabilityDomain)
The availability domain to create the file system in.CreateFileSystemDetails
build()
CreateFileSystemDetails.Builder
cloneAttachStatus(CreateFileSystemDetails.CloneAttachStatus cloneAttachStatus)
Specifies whether the clone file system is attached to its parent file system.CreateFileSystemDetails.Builder
compartmentId(String compartmentId)
The OCID of the compartment to create the file system in.CreateFileSystemDetails.Builder
copy(CreateFileSystemDetails model)
CreateFileSystemDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreateFileSystemDetails.Builder
displayName(String displayName)
A user-friendly name.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.CreateFileSystemDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.CreateFileSystemDetails.Builder
kmsKeyId(String kmsKeyId)
The OCID of the KMS key used to encrypt the encryption keys associated with this file system.CreateFileSystemDetails.Builder
locks(List<ResourceLock> locks)
Locks associated with this resource.CreateFileSystemDetails.Builder
sourceSnapshotId(String sourceSnapshotId)
The OCID of the snapshot used to create a cloned file system.
-
-
-
Method Detail
-
availabilityDomain
public 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
-
compartmentId
public 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
-
displayName
public 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
-
freeformTags
public 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
-
definedTags
public 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
-
locks
public CreateFileSystemDetails.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.- Parameters:
locks
- the value to set- Returns:
- this builder
-
kmsKeyId
public 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
-
sourceSnapshotId
public 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
-
cloneAttachStatus
public 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
-
filesystemSnapshotPolicyId
public 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
-
areQuotaRulesEnabled
public CreateFileSystemDetails.Builder areQuotaRulesEnabled(Boolean areQuotaRulesEnabled)
Specifies the enforcement of quota rules on the file system.- Parameters:
areQuotaRulesEnabled
- the value to set- Returns:
- this builder
-
build
public CreateFileSystemDetails build()
-
copy
public CreateFileSystemDetails.Builder copy(CreateFileSystemDetails model)
-
-