Package com.oracle.bmc.core.model
Class CreateVolumeBackupPolicyAssignmentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.core.model.CreateVolumeBackupPolicyAssignmentDetails.Builder
-
- Enclosing class:
- CreateVolumeBackupPolicyAssignmentDetails
public static class CreateVolumeBackupPolicyAssignmentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateVolumeBackupPolicyAssignmentDetails.Builder
assetId(String assetId)
The OCID of the volume to assign the policy to.CreateVolumeBackupPolicyAssignmentDetails
build()
CreateVolumeBackupPolicyAssignmentDetails.Builder
copy(CreateVolumeBackupPolicyAssignmentDetails model)
CreateVolumeBackupPolicyAssignmentDetails.Builder
policyId(String policyId)
The OCID of the volume backup policy to assign to the volume.CreateVolumeBackupPolicyAssignmentDetails.Builder
xrcKmsKeyId(String xrcKmsKeyId)
The OCID of the Vault service key which is the master encryption key for the block / boot volume cross region backups, which will be used in the destination region to encrypt the backup’s encryption keys.
-
-
-
Method Detail
-
assetId
public CreateVolumeBackupPolicyAssignmentDetails.Builder assetId(String assetId)
The OCID of the volume to assign the policy to.- Parameters:
assetId
- the value to set- Returns:
- this builder
-
policyId
public CreateVolumeBackupPolicyAssignmentDetails.Builder policyId(String policyId)
The OCID of the volume backup policy to assign to the volume.- Parameters:
policyId
- the value to set- Returns:
- this builder
-
xrcKmsKeyId
public CreateVolumeBackupPolicyAssignmentDetails.Builder xrcKmsKeyId(String xrcKmsKeyId)
The OCID of the Vault service key which is the master encryption key for the block / boot volume cross region backups, which will be used in the destination region to encrypt the backup’s encryption keys.For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.
- Parameters:
xrcKmsKeyId
- the value to set- Returns:
- this builder
-
build
public CreateVolumeBackupPolicyAssignmentDetails build()
-
copy
public CreateVolumeBackupPolicyAssignmentDetails.Builder copy(CreateVolumeBackupPolicyAssignmentDetails model)
-
-