Package com.oracle.bmc.core.model
Class CreateVolumeBackupPolicyDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.CreateVolumeBackupPolicyDetails.Builder
-
- Enclosing class:
- CreateVolumeBackupPolicyDetails
public static class CreateVolumeBackupPolicyDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateVolumeBackupPolicyDetails
build()
CreateVolumeBackupPolicyDetails.Builder
compartmentId(String compartmentId)
The OCID of the compartment.CreateVolumeBackupPolicyDetails.Builder
copy(CreateVolumeBackupPolicyDetails model)
CreateVolumeBackupPolicyDetails.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.CreateVolumeBackupPolicyDetails.Builder
destinationRegion(String destinationRegion)
The paired destination region for copying scheduled backups to.CreateVolumeBackupPolicyDetails.Builder
displayName(String displayName)
A user-friendly name.CreateVolumeBackupPolicyDetails.Builder
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.CreateVolumeBackupPolicyDetails.Builder
schedules(List<VolumeBackupSchedule> schedules)
The collection of schedules for the volume backup policy.
-
-
-
Method Detail
-
compartmentId
public CreateVolumeBackupPolicyDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
displayName
public CreateVolumeBackupPolicyDetails.Builder displayName(String displayName)
A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
destinationRegion
public CreateVolumeBackupPolicyDetails.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.
- Parameters:
destinationRegion
- the value to set- Returns:
- this builder
-
schedules
public CreateVolumeBackupPolicyDetails.Builder schedules(List<VolumeBackupSchedule> schedules)
The collection of schedules for the volume backup policy.See see Schedules in Policy-Based Backups for more information.
- Parameters:
schedules
- the value to set- Returns:
- this builder
-
definedTags
public CreateVolumeBackupPolicyDetails.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
-
freeformTags
public CreateVolumeBackupPolicyDetails.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
-
build
public CreateVolumeBackupPolicyDetails build()
-
copy
public CreateVolumeBackupPolicyDetails.Builder copy(CreateVolumeBackupPolicyDetails model)
-
-