Class DrProtectionGroupMemberVolumeGroup.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • 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