public static class CreateFileSystemDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
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.
|
public CreateFileSystemDetails.Builder availabilityDomain(String availabilityDomain)
The availability domain to create the file system in.
Example: Uocm:PHX-AD-1
availabilityDomain
- the value to setpublic CreateFileSystemDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment to create the file system in.
compartmentId
- the value to setpublic 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
displayName
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic CreateFileSystemDetails.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic CreateFileSystemDetails.Builder kmsKeyId(String kmsKeyId)
The OCID of the KMS key used to encrypt the encryption keys associated with this file system.
kmsKeyId
- the value to setpublic CreateFileSystemDetails.Builder sourceSnapshotId(String sourceSnapshotId)
The OCID of the snapshot used to create a cloned file system. See Cloning a File System.
sourceSnapshotId
- the value to setpublic 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.
cloneAttachStatus
- the value to setpublic 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.
filesystemSnapshotPolicyId
- the value to setpublic CreateFileSystemDetails build()
public CreateFileSystemDetails.Builder copy(CreateFileSystemDetails model)
Copyright © 2016–2024. All rights reserved.