Class SnapshotSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.filestorage.model.SnapshotSummary.Builder
 
- 
- Enclosing class:
- SnapshotSummary
 
 public static class SnapshotSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SnapshotSummarybuild()SnapshotSummary.Buildercopy(SnapshotSummary model)SnapshotSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.SnapshotSummary.BuilderexpirationTime(Date expirationTime)The time when this snapshot will be deleted.SnapshotSummary.BuilderfileSystemId(String fileSystemId)The OCID of the file system from which the snapshot was created.SnapshotSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.SnapshotSummary.Builderid(String id)The OCID of the snapshot.SnapshotSummary.BuilderisCloneSource(Boolean isCloneSource)Specifies whether the snapshot has been cloned.SnapshotSummary.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycleState.SnapshotSummary.BuilderlifecycleState(SnapshotSummary.LifecycleState lifecycleState)The current state of the snapshot.SnapshotSummary.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.SnapshotSummary.Buildername(String name)Name of the snapshot.SnapshotSummary.BuilderprovenanceId(String provenanceId)An OCID identifying the parent from which this snapshot was cloned.SnapshotSummary.BuildersnapshotTime(Date snapshotTime)The date and time the snapshot was taken, expressed in RFC 3339 timestamp format.SnapshotSummary.BuildersnapshotType(SnapshotSummary.SnapshotType snapshotType)Specifies the generation type of the snapshot.SnapshotSummary.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.SnapshotSummary.BuildertimeCreated(Date timeCreated)The date and time the snapshot was created, expressed in RFC 3339 timestamp format.
 
- 
- 
- 
Method Detail- 
fileSystemIdpublic SnapshotSummary.Builder fileSystemId(String fileSystemId) The OCID of the file system from which the snapshot was created.- Parameters:
- fileSystemId- the value to set
- Returns:
- this builder
 
 - 
idpublic SnapshotSummary.Builder id(String id) The OCID of the snapshot.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic SnapshotSummary.Builder lifecycleState(SnapshotSummary.LifecycleState lifecycleState) The current state of the snapshot.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
namepublic SnapshotSummary.Builder name(String name) Name of the snapshot.This value is immutable. Avoid entering confidential information. Example: Sunday - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic 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 - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
lockspublic SnapshotSummary.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
snapshotTypepublic SnapshotSummary.Builder snapshotType(SnapshotSummary.SnapshotType snapshotType) Specifies the generation type of the snapshot.- Parameters:
- snapshotType- the value to set
- Returns:
- this builder
 
 - 
snapshotTimepublic SnapshotSummary.Builder snapshotTime(Date snapshotTime) The date and time the snapshot was taken, expressed in RFC 3339 timestamp format.This value might be the same or different from timeCreated depending on the following factors: - If the snapshot is created in the original file system directory. - If the snapshot is cloned from a file system. - If the snapshot is replicated from a file system. Example: 2020-08-25T21:10:29.600Z - Parameters:
- snapshotTime- the value to set
- Returns:
- this builder
 
 - 
expirationTimepublic SnapshotSummary.Builder expirationTime(Date expirationTime) The time when this snapshot will be deleted.- Parameters:
- expirationTime- the value to set
- Returns:
- this builder
 
 - 
provenanceIdpublic 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. - Parameters:
- provenanceId- the value to set
- Returns:
- this builder
 
 - 
isCloneSourcepublic SnapshotSummary.Builder isCloneSource(Boolean isCloneSource) Specifies whether the snapshot has been cloned.- Parameters:
- isCloneSource- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic SnapshotSummary.Builder lifecycleDetails(String lifecycleDetails) Additional information about the current lifecycleState.- Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
systemTagspublic SnapshotSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.System tags are applied to resources by internal OCI services. - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic SnapshotSummary build() 
 - 
copypublic SnapshotSummary.Builder copy(SnapshotSummary model) 
 
- 
 
-