public static class CreateSnapshotDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateSnapshotDetails |
build() |
CreateSnapshotDetails.Builder |
copy(CreateSnapshotDetails model) |
CreateSnapshotDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
CreateSnapshotDetails.Builder |
expirationTime(Date expirationTime)
The time when this snapshot will be deleted.
|
CreateSnapshotDetails.Builder |
fileSystemId(String fileSystemId)
The OCID of the
file system to take a snapshot of.
|
CreateSnapshotDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
CreateSnapshotDetails.Builder |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
CreateSnapshotDetails.Builder |
name(String name)
Name of the snapshot.
|
public CreateSnapshotDetails.Builder fileSystemId(String fileSystemId)
The OCID of the file system to take a snapshot of.
fileSystemId
- the value to setpublic CreateSnapshotDetails.Builder name(String name)
Name of the snapshot. This value is immutable. It must also be unique with respect to all other non-DELETED snapshots on the associated file system.
Avoid entering confidential information.
Example: Sunday
name
- the value to setpublic CreateSnapshotDetails.Builder expirationTime(Date expirationTime)
The time when this snapshot will be deleted.
expirationTime
- the value to setpublic CreateSnapshotDetails.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 CreateSnapshotDetails.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 CreateSnapshotDetails.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic CreateSnapshotDetails build()
public CreateSnapshotDetails.Builder copy(CreateSnapshotDetails model)
Copyright © 2016–2024. All rights reserved.