Package com.oracle.bmc.filestorage.model
Class CreateSnapshotDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.filestorage.model.CreateSnapshotDetails.Builder
 
- 
- Enclosing class:
- CreateSnapshotDetails
 
 public static class CreateSnapshotDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSnapshotDetailsbuild()CreateSnapshotDetails.Buildercopy(CreateSnapshotDetails model)CreateSnapshotDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateSnapshotDetails.BuilderexpirationTime(Date expirationTime)The time when this snapshot will be deleted.CreateSnapshotDetails.BuilderfileSystemId(String fileSystemId)The OCID of the file system to take a snapshot of.CreateSnapshotDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateSnapshotDetails.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.CreateSnapshotDetails.Buildername(String name)Name of the snapshot.
 
- 
- 
- 
Method Detail- 
fileSystemIdpublic CreateSnapshotDetails.Builder fileSystemId(String fileSystemId) The OCID of the file system to take a snapshot of.- Parameters:
- fileSystemId- the value to set
- Returns:
- this builder
 
 - 
namepublic 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 - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
expirationTimepublic CreateSnapshotDetails.Builder expirationTime(Date expirationTime) The time when this snapshot will be deleted.- Parameters:
- expirationTime- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic 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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
lockspublic CreateSnapshotDetails.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
buildpublic CreateSnapshotDetails build() 
 - 
copypublic CreateSnapshotDetails.Builder copy(CreateSnapshotDetails model) 
 
- 
 
-