Class UpdateFileSystemDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.filestorage.model.UpdateFileSystemDetails.Builder
-
- Enclosing class:
- UpdateFileSystemDetails
public static class UpdateFileSystemDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateFileSystemDetails
build()
UpdateFileSystemDetails.Builder
copy(UpdateFileSystemDetails model)
UpdateFileSystemDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateFileSystemDetails.Builder
displayName(String displayName)
A user-friendly name.UpdateFileSystemDetails.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.UpdateFileSystemDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.UpdateFileSystemDetails.Builder
kmsKeyId(String kmsKeyId)
The OCID of the Key Management master encryption key to associate with the specified file system.
-
-
-
Method Detail
-
displayName
public UpdateFileSystemDetails.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 UpdateFileSystemDetails.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 UpdateFileSystemDetails.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
-
kmsKeyId
public UpdateFileSystemDetails.Builder kmsKeyId(String kmsKeyId)
The OCID of the Key Management master encryption key to associate with the specified file system.If this value is empty, the Update operation will remove the associated key, if there is one, from the file system. (The file system will continue to be encrypted, but with an encryption key managed by Oracle.)
If updating to a new Key Management key, the old key must remain enabled so that files previously encrypted continue to be accessible. For more information, see [Overview of Key Management](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm).
- Parameters:
kmsKeyId
- the value to set- Returns:
- this builder
-
filesystemSnapshotPolicyId
public UpdateFileSystemDetails.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.If string is empty, the policy reference (if any) would be removed.
- Parameters:
filesystemSnapshotPolicyId
- the value to set- Returns:
- this builder
-
build
public UpdateFileSystemDetails build()
-
copy
public UpdateFileSystemDetails.Builder copy(UpdateFileSystemDetails model)
-
-