Package com.oracle.bmc.core.model
Class CopyVolumeBackupDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.CopyVolumeBackupDetails.Builder
-
- Enclosing class:
- CopyVolumeBackupDetails
public static class CopyVolumeBackupDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CopyVolumeBackupDetails
build()
CopyVolumeBackupDetails.Builder
copy(CopyVolumeBackupDetails model)
CopyVolumeBackupDetails.Builder
destinationRegion(String destinationRegion)
The name of the destination region.CopyVolumeBackupDetails.Builder
displayName(String displayName)
A user-friendly name.CopyVolumeBackupDetails.Builder
kmsKeyId(String kmsKeyId)
The OCID of the Vault service key in the destination region which will be the master encryption key for the copied volume backup.
-
-
-
Method Detail
-
destinationRegion
public CopyVolumeBackupDetails.Builder destinationRegion(String destinationRegion)
The name of the destination region.Example: us-ashburn-1
- Parameters:
destinationRegion
- the value to set- Returns:
- this builder
-
displayName
public CopyVolumeBackupDetails.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
-
kmsKeyId
public CopyVolumeBackupDetails.Builder kmsKeyId(String kmsKeyId)
The OCID of the Vault service key in the destination region which will be the master encryption key for the copied volume backup.If you do not specify this attribute the volume backup will be encrypted with the Oracle-provided encryption key when it is copied to the destination region.
For more information about the Vault service and encryption keys, see [Overview of Vault service](https://docs.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and [Using Keys](https://docs.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm).
- Parameters:
kmsKeyId
- the value to set- Returns:
- this builder
-
build
public CopyVolumeBackupDetails build()
-
copy
public CopyVolumeBackupDetails.Builder copy(CopyVolumeBackupDetails model)
-
-