public static class VolumeBackupPolicy.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
VolumeBackupPolicy |
build() |
VolumeBackupPolicy.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the volume backup.
|
VolumeBackupPolicy.Builder |
copy(VolumeBackupPolicy model) |
VolumeBackupPolicy.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
VolumeBackupPolicy.Builder |
destinationRegion(String destinationRegion)
The paired destination region for copying scheduled backups to.
|
VolumeBackupPolicy.Builder |
displayName(String displayName)
A user-friendly name.
|
VolumeBackupPolicy.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
VolumeBackupPolicy.Builder |
id(String id)
The OCID of the volume backup policy.
|
VolumeBackupPolicy.Builder |
schedules(List<VolumeBackupSchedule> schedules)
The collection of schedules that this policy will apply.
|
VolumeBackupPolicy.Builder |
timeCreated(Date timeCreated)
The date and time the volume backup policy was created.
|
public VolumeBackupPolicy.Builder displayName(String displayName)
A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
displayName
- the value to setpublic VolumeBackupPolicy.Builder id(String id)
The OCID of the volume backup policy.
id
- the value to setpublic VolumeBackupPolicy.Builder schedules(List<VolumeBackupSchedule> schedules)
The collection of schedules that this policy will apply.
schedules
- the value to setpublic VolumeBackupPolicy.Builder destinationRegion(String destinationRegion)
The paired destination region for copying scheduled backups to. Example us-ashburn-1
. See Region
Pairs
for details about paired regions.
destinationRegion
- the value to setpublic VolumeBackupPolicy.Builder timeCreated(Date timeCreated)
The date and time the volume backup policy was created. Format defined by RFC3339.
timeCreated
- the value to setpublic VolumeBackupPolicy.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the volume backup.
compartmentId
- the value to setpublic VolumeBackupPolicy.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 VolumeBackupPolicy.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 VolumeBackupPolicy build()
public VolumeBackupPolicy.Builder copy(VolumeBackupPolicy model)
Copyright © 2016–2024. All rights reserved.