Class CreateDrProtectionGroupMemberVolumeGroupDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.CreateDrProtectionGroupMemberVolumeGroupDetails.Builder
-
- Enclosing class:
- CreateDrProtectionGroupMemberVolumeGroupDetails
public static class CreateDrProtectionGroupMemberVolumeGroupDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
memberId
public CreateDrProtectionGroupMemberVolumeGroupDetails.Builder memberId(String memberId)
-
destinationBackupPolicyId
public CreateDrProtectionGroupMemberVolumeGroupDetails.Builder destinationBackupPolicyId(String destinationBackupPolicyId)
The OCID of the backup policy to use in the destination region.This policy will be used to create backups for this volume group after it moves the destination region.
Example: ocid1.volumebackuppolicy.oc1..uniqueID
- Parameters:
destinationBackupPolicyId
- the value to set- Returns:
- this builder
-
sourceVolumeToDestinationEncryptionKeyMappings
public CreateDrProtectionGroupMemberVolumeGroupDetails.Builder sourceVolumeToDestinationEncryptionKeyMappings(List<CreateSourceVolumeToDestinationEncryptionKeyMappingDetails> sourceVolumeToDestinationEncryptionKeyMappings)
A list of mappings between source volume IDs in the volume group and customer-managed encryption keys in the destination region which will be used to encrypt the volume after it moves to the destination region.If you add the entry for source volumes and its corresponding vault and encryption keys here, you can not use 'commonDestinationKey' for encrypting all volumes with common encryption key. Similarly, if you specify common vault and encryption key using 'commonDestinationKey', you cannot specify vaults and encryption keys individually for each volume using 'sourceVolumeToDestinationEncryptionKeyMappings'.
An entry for each volume in volume group should be added in this list. The encryption key will not be updated for the volumes that are part of volume group but missing in this list.
- Parameters:
sourceVolumeToDestinationEncryptionKeyMappings
- the value to set- Returns:
- this builder
-
commonDestinationKey
public CreateDrProtectionGroupMemberVolumeGroupDetails.Builder commonDestinationKey(CreateVaultAndEncryptionKeyDetails commonDestinationKey)
-
build
public CreateDrProtectionGroupMemberVolumeGroupDetails build()
-
copy
public CreateDrProtectionGroupMemberVolumeGroupDetails.Builder copy(CreateDrProtectionGroupMemberVolumeGroupDetails model)
-
-