Class UpdateDrProtectionGroupMemberVolumeGroupDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.disasterrecovery.model.UpdateDrProtectionGroupMemberDetails
- 
- com.oracle.bmc.disasterrecovery.model.UpdateDrProtectionGroupMemberVolumeGroupDetails
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20220125") public final class UpdateDrProtectionGroupMemberVolumeGroupDetails extends UpdateDrProtectionGroupMemberDetailsUpdate properties for a volume group member.
 Note: Objects should always be created or deserialized using theUpdateDrProtectionGroupMemberVolumeGroupDetails.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theUpdateDrProtectionGroupMemberVolumeGroupDetails.Builder, which maintain a set of all explicitly set fields calledUpdateDrProtectionGroupMemberVolumeGroupDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classUpdateDrProtectionGroupMemberVolumeGroupDetails.Builder
 - 
Constructor SummaryConstructors Constructor Description UpdateDrProtectionGroupMemberVolumeGroupDetails(String memberId, String destinationBackupPolicyId, List<UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails> sourceVolumeToDestinationEncryptionKeyMappings, UpdateVaultAndEncryptionKeyDetails commonDestinationKey, String destinationCompartmentId)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateDrProtectionGroupMemberVolumeGroupDetails.Builderbuilder()Create a new builder.booleanequals(Object o)UpdateVaultAndEncryptionKeyDetailsgetCommonDestinationKey()StringgetDestinationBackupPolicyId()The OCID of the backup policy to use in the destination region.StringgetDestinationCompartmentId()The OCID of a compartment in the destination region in which the volume group should be launched.List<UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails>getSourceVolumeToDestinationEncryptionKeyMappings()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.inthashCode()UpdateDrProtectionGroupMemberVolumeGroupDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.disasterrecovery.model.UpdateDrProtectionGroupMemberDetailsgetMemberId
 
- 
 
- 
- 
- 
Constructor Detail- 
UpdateDrProtectionGroupMemberVolumeGroupDetails@Deprecated public UpdateDrProtectionGroupMemberVolumeGroupDetails(String memberId, String destinationBackupPolicyId, List<UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails> sourceVolumeToDestinationEncryptionKeyMappings, UpdateVaultAndEncryptionKeyDetails commonDestinationKey, String destinationCompartmentId) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static UpdateDrProtectionGroupMemberVolumeGroupDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic UpdateDrProtectionGroupMemberVolumeGroupDetails.Builder toBuilder() 
 - 
getDestinationBackupPolicyIdpublic String getDestinationBackupPolicyId() 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 - Returns:
- the value
 
 - 
getSourceVolumeToDestinationEncryptionKeyMappingspublic List<UpdateSourceVolumeToDestinationEncryptionKeyMappingDetails> getSourceVolumeToDestinationEncryptionKeyMappings() 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. - Returns:
- the value
 
 - 
getCommonDestinationKeypublic UpdateVaultAndEncryptionKeyDetails getCommonDestinationKey() 
 - 
getDestinationCompartmentIdpublic String getDestinationCompartmentId() The OCID of a compartment in the destination region in which the volume group should be launched.Example: ocid1.compartment.oc1..uniqueID - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- UpdateDrProtectionGroupMemberDetails
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- UpdateDrProtectionGroupMemberDetails
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- UpdateDrProtectionGroupMemberDetails
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- UpdateDrProtectionGroupMemberDetails
 
 
- 
 
-