public static class UpdateSnapshotDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic 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
expirationTime
- the value to setpublic UpdateSnapshotDetails build()
public UpdateSnapshotDetails.Builder copy(UpdateSnapshotDetails model)
Copyright © 2016–2024. All rights reserved.