Package com.oracle.bmc.filestorage.model
Class UpdateSnapshotDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.filestorage.model.UpdateSnapshotDetails.Builder
-
- Enclosing class:
- UpdateSnapshotDetails
public static class UpdateSnapshotDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateSnapshotDetails
build()
UpdateSnapshotDetails.Builder
copy(UpdateSnapshotDetails model)
UpdateSnapshotDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.UpdateSnapshotDetails.Builder
expirationTime(Date expirationTime)
The UTC time when this snapshot will be deleted.UpdateSnapshotDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
-
-
-
Method Detail
-
freeformTags
public UpdateSnapshotDetails.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 UpdateSnapshotDetails.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
-
expirationTime
public UpdateSnapshotDetails.Builder expirationTime(Date expirationTime)
The UTC time when this snapshot will be deleted.To remove the expiration time, set this field to the minimum date-time value using Date(0).
Example: Thu Jan 01 01:00:00 GMT 1970
- Parameters:
expirationTime
- the value to set- Returns:
- this builder
-
build
public UpdateSnapshotDetails build()
-
copy
public UpdateSnapshotDetails.Builder copy(UpdateSnapshotDetails model)
-
-