public static class SnapshotSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SnapshotSummary |
build() |
SnapshotSummary.Builder |
copy(SnapshotSummary o) |
SnapshotSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
SnapshotSummary.Builder |
fileSystemId(String fileSystemId)
The OCID of the file system from which the snapshot was created.
|
SnapshotSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
SnapshotSummary.Builder |
id(String id)
The OCID of the snapshot.
|
SnapshotSummary.Builder |
isCloneSource(Boolean isCloneSource)
Specifies whether the snapshot has been cloned.
|
SnapshotSummary.Builder |
lifecycleDetails(String lifecycleDetails)
Additional information about the current ‘lifecycleState’.
|
SnapshotSummary.Builder |
lifecycleState(SnapshotSummary.LifecycleState lifecycleState)
The current state of the snapshot.
|
SnapshotSummary.Builder |
name(String name)
Name of the snapshot.
|
SnapshotSummary.Builder |
provenanceId(String provenanceId)
An OCID identifying the parent from which this snapshot was cloned.
|
SnapshotSummary.Builder |
timeCreated(Date timeCreated)
The date and time the snapshot was created, expressed
in RFC 3339 timestamp format.
|
public SnapshotSummary.Builder fileSystemId(String fileSystemId)
The OCID of the file system from which the snapshot was created.
fileSystemId
- the value to setpublic SnapshotSummary.Builder id(String id)
The OCID of the snapshot.
id
- the value to setpublic SnapshotSummary.Builder lifecycleState(SnapshotSummary.LifecycleState lifecycleState)
The current state of the snapshot.
lifecycleState
- the value to setpublic SnapshotSummary.Builder name(String name)
Name of the snapshot. This value is immutable.
Avoid entering confidential information.
Example: Sunday
name
- the value to setpublic SnapshotSummary.Builder timeCreated(Date timeCreated)
The date and time the snapshot was created, expressed in RFC 3339 timestamp format.
Example: 2016-08-25T21:10:29.600Z
timeCreated
- the value to setpublic SnapshotSummary.Builder provenanceId(String provenanceId)
An OCID identifying the parent from which this snapshot was cloned.
If this snapshot was not cloned, then the provenanceId
is the same as the snapshot id
value.
If this snapshot was cloned, then the provenanceId
value is the parent’s provenanceId
.
See Cloning a File System.
provenanceId
- the value to setpublic SnapshotSummary.Builder isCloneSource(Boolean isCloneSource)
Specifies whether the snapshot has been cloned. See Cloning a File System.
isCloneSource
- the value to setpublic SnapshotSummary.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current ‘lifecycleState’.
lifecycleDetails
- the value to setpublic SnapshotSummary.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 SnapshotSummary.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 SnapshotSummary build()
public SnapshotSummary.Builder copy(SnapshotSummary o)
Copyright © 2016–2022. All rights reserved.