Class DrProtectionGroupMemberVolumeGroup.Builder
- java.lang.Object
-
- com.oracle.bmc.disasterrecovery.model.DrProtectionGroupMemberVolumeGroup.Builder
-
- Enclosing class:
- DrProtectionGroupMemberVolumeGroup
public static class DrProtectionGroupMemberVolumeGroup.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DrProtectionGroupMemberVolumeGroup
build()
DrProtectionGroupMemberVolumeGroup.Builder
commonDestinationKey(VaultAndEncryptionKey commonDestinationKey)
DrProtectionGroupMemberVolumeGroup.Builder
copy(DrProtectionGroupMemberVolumeGroup model)
DrProtectionGroupMemberVolumeGroup.Builder
destinationBackupPolicyId(String destinationBackupPolicyId)
The OCID of the backup policy to use in the destination region.DrProtectionGroupMemberVolumeGroup.Builder
memberId(String memberId)
DrProtectionGroupMemberVolumeGroup.Builder
sourceVolumeToDestinationEncryptionKeyMappings(List<SourceVolumeToDestinationEncryptionKeyMapping> 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.
-
-
-
Method Detail
-
memberId
public DrProtectionGroupMemberVolumeGroup.Builder memberId(String memberId)
-
destinationBackupPolicyId
public DrProtectionGroupMemberVolumeGroup.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 DrProtectionGroupMemberVolumeGroup.Builder sourceVolumeToDestinationEncryptionKeyMappings(List<SourceVolumeToDestinationEncryptionKeyMapping> 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 DrProtectionGroupMemberVolumeGroup.Builder commonDestinationKey(VaultAndEncryptionKey commonDestinationKey)
-
build
public DrProtectionGroupMemberVolumeGroup build()
-
copy
public DrProtectionGroupMemberVolumeGroup.Builder copy(DrProtectionGroupMemberVolumeGroup model)
-
-