public static class UpdateFilesystemSnapshotPolicyDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UpdateFilesystemSnapshotPolicyDetails |
build() |
UpdateFilesystemSnapshotPolicyDetails.Builder |
copy(UpdateFilesystemSnapshotPolicyDetails model) |
UpdateFilesystemSnapshotPolicyDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
UpdateFilesystemSnapshotPolicyDetails.Builder |
displayName(String displayName)
A user-friendly name.
|
UpdateFilesystemSnapshotPolicyDetails.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
UpdateFilesystemSnapshotPolicyDetails.Builder |
policyPrefix(String policyPrefix)
The prefix to apply to all snapshots created by this policy.
|
UpdateFilesystemSnapshotPolicyDetails.Builder |
schedules(List<SnapshotSchedule> schedules)
The list of associated snapshot schedules.
|
public UpdateFilesystemSnapshotPolicyDetails.Builder displayName(String displayName)
A user-friendly name. It does not have to be unique, and it is changeable. Avoid entering confidential information.
Example: policy1
displayName
- the value to setpublic UpdateFilesystemSnapshotPolicyDetails.Builder policyPrefix(String policyPrefix)
The prefix to apply to all snapshots created by this policy.
Example: acme
policyPrefix
- the value to setpublic UpdateFilesystemSnapshotPolicyDetails.Builder schedules(List<SnapshotSchedule> schedules)
The list of associated snapshot schedules. A maximum of 10 schedules can be associated with a policy.
If using the CLI, provide the schedule as a list of JSON strings, with the list
wrapped in quotation marks, i.e. --schedules
'[{"timeZone":"UTC","period":"DAILY","hourOfDay":18},{"timeZone":"UTC","period":"HOURLY"}]'
schedules
- the value to setpublic UpdateFilesystemSnapshotPolicyDetails.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 UpdateFilesystemSnapshotPolicyDetails.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 UpdateFilesystemSnapshotPolicyDetails build()
public UpdateFilesystemSnapshotPolicyDetails.Builder copy(UpdateFilesystemSnapshotPolicyDetails model)
Copyright © 2016–2024. All rights reserved.