Package com.oracle.bmc.core.model
Class CreateVolumeGroupBackupDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.CreateVolumeGroupBackupDetails.Builder
-
- Enclosing class:
- CreateVolumeGroupBackupDetails
public static class CreateVolumeGroupBackupDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateVolumeGroupBackupDetailsbuild()CreateVolumeGroupBackupDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment that will contain the volume group backup.CreateVolumeGroupBackupDetails.Buildercopy(CreateVolumeGroupBackupDetails model)CreateVolumeGroupBackupDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateVolumeGroupBackupDetails.BuilderdisplayName(String displayName)A user-friendly name.CreateVolumeGroupBackupDetails.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CreateVolumeGroupBackupDetails.Buildertype(CreateVolumeGroupBackupDetails.Type type)The type of backup to create.CreateVolumeGroupBackupDetails.BuildervolumeGroupId(String volumeGroupId)The OCID of the volume group that needs to be backed up.
-
-
-
Method Detail
-
compartmentId
public CreateVolumeGroupBackupDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that will contain the volume group backup.This parameter is optional, by default backup will be created in the same compartment and source volume group.
- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
definedTags
public CreateVolumeGroupBackupDetails.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
-
displayName
public CreateVolumeGroupBackupDetails.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
-
freeformTags
public CreateVolumeGroupBackupDetails.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
-
type
public CreateVolumeGroupBackupDetails.Builder type(CreateVolumeGroupBackupDetails.Type type)
The type of backup to create.If omitted, defaults to incremental.
- Parameters:
type- the value to set- Returns:
- this builder
-
volumeGroupId
public CreateVolumeGroupBackupDetails.Builder volumeGroupId(String volumeGroupId)
The OCID of the volume group that needs to be backed up.- Parameters:
volumeGroupId- the value to set- Returns:
- this builder
-
build
public CreateVolumeGroupBackupDetails build()
-
copy
public CreateVolumeGroupBackupDetails.Builder copy(CreateVolumeGroupBackupDetails model)
-
-