@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateCrossRegionDisasterRecoveryDetails extends CreateAutonomousDatabaseBase
The following are the details necessary to create a disaster recovery (DR) association for an
existing Autonomous Database with a standby in a remote region. IMPORTANT For creating a
standby databases in a cross-region DR association: - To create the standby database in a remote
region, use the API endpoint in the region where the standby is located. For example, if the
primary database is in the IAD region and the standby is in the PHX region, make the API call
using the PHX endpoint (https://database.us-phoenix-1.oraclecloud.com). See API Endpoints for the
list of Database Service API endpoints. - To create the request in the standby database, the
sourceId value must be the OCID of the primary database. The following parameters are required
for the cross-region standby database and must contain the same values as the source Autonomous
Database: - remoteDisasterRecoveryType The following parameters are optional for the cross-region
standby database. If included in the request, these parameters must contain the same values as
the source Autonomous Database: - dbName - dbVersion - ecpuCount - dataStorageSizeInTB -
customerContacts - scheduledOperations - isAutoScalingForStorageEnabled - definedTags -
freeformTags - licenseModel - whitelistedIps - isMtlsConnectionRequired
Note: Objects should always be created or deserialized using the CreateCrossRegionDisasterRecoveryDetails.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 the CreateCrossRegionDisasterRecoveryDetails.Builder
, which maintain a
set of all explicitly set fields called CreateCrossRegionDisasterRecoveryDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateCrossRegionDisasterRecoveryDetails.Builder |
CreateAutonomousDatabaseBase.AutonomousMaintenanceScheduleType, CreateAutonomousDatabaseBase.ComputeModel, CreateAutonomousDatabaseBase.DbWorkload, CreateAutonomousDatabaseBase.LicenseModel, CreateAutonomousDatabaseBase.Source
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateCrossRegionDisasterRecoveryDetails(String subscriptionId,
String compartmentId,
String characterSet,
String ncharacterSet,
String dbName,
Integer cpuCoreCount,
Integer backupRetentionPeriodInDays,
CreateAutonomousDatabaseBase.ComputeModel computeModel,
Float computeCount,
Float ocpuCount,
CreateAutonomousDatabaseBase.DbWorkload dbWorkload,
Integer dataStorageSizeInTBs,
Integer dataStorageSizeInGBs,
Boolean isFreeTier,
String kmsKeyId,
String vaultId,
AutonomousDatabaseEncryptionKeyDetails encryptionKey,
String adminPassword,
String displayName,
CreateAutonomousDatabaseBase.LicenseModel licenseModel,
Float byolComputeCountLimit,
Boolean isPreviewVersionWithServiceTermsAccepted,
Boolean isAutoScalingEnabled,
Boolean isDevTier,
Boolean isDedicated,
String autonomousContainerDatabaseId,
Integer inMemoryPercentage,
Boolean isAccessControlEnabled,
List<String> whitelistedIps,
Boolean arePrimaryWhitelistedIpsUsed,
List<String> standbyWhitelistedIps,
Boolean isDataGuardEnabled,
Boolean isLocalDataGuardEnabled,
String subnetId,
List<String> nsgIds,
String privateEndpointLabel,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> securityAttributes,
String privateEndpointIp,
String dbVersion,
List<CustomerContact> customerContacts,
Boolean isMtlsConnectionRequired,
String resourcePoolLeaderId,
ResourcePoolSummary resourcePoolSummary,
CreateAutonomousDatabaseBase.AutonomousMaintenanceScheduleType autonomousMaintenanceScheduleType,
List<ScheduledOperationDetails> scheduledOperations,
Boolean isAutoScalingForStorageEnabled,
AutonomousDatabaseSummary.DatabaseEdition databaseEdition,
List<DatabaseTool> dbToolsDetails,
String secretId,
Integer secretVersionNumber,
String sourceId,
DisasterRecoveryConfiguration.DisasterRecoveryType remoteDisasterRecoveryType,
Boolean isReplicateAutomaticBackups)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateCrossRegionDisasterRecoveryDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Boolean |
getIsReplicateAutomaticBackups()
If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or
Backup-Based DR between Primary and Standby.
|
DisasterRecoveryConfiguration.DisasterRecoveryType |
getRemoteDisasterRecoveryType()
Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database
Serverless instance.
|
String |
getSourceId()
The OCID of the
source Autonomous Database that will be used to create a new peer database for the DR
association.
|
int |
hashCode() |
CreateCrossRegionDisasterRecoveryDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getAdminPassword, getArePrimaryWhitelistedIpsUsed, getAutonomousContainerDatabaseId, getAutonomousMaintenanceScheduleType, getBackupRetentionPeriodInDays, getByolComputeCountLimit, getCharacterSet, getCompartmentId, getComputeCount, getComputeModel, getCpuCoreCount, getCustomerContacts, getDatabaseEdition, getDataStorageSizeInGBs, getDataStorageSizeInTBs, getDbName, getDbToolsDetails, getDbVersion, getDbWorkload, getDefinedTags, getDisplayName, getEncryptionKey, getFreeformTags, getInMemoryPercentage, getIsAccessControlEnabled, getIsAutoScalingEnabled, getIsAutoScalingForStorageEnabled, getIsDataGuardEnabled, getIsDedicated, getIsDevTier, getIsFreeTier, getIsLocalDataGuardEnabled, getIsMtlsConnectionRequired, getIsPreviewVersionWithServiceTermsAccepted, getKmsKeyId, getLicenseModel, getNcharacterSet, getNsgIds, getOcpuCount, getPrivateEndpointIp, getPrivateEndpointLabel, getResourcePoolLeaderId, getResourcePoolSummary, getScheduledOperations, getSecretId, getSecretVersionNumber, getSecurityAttributes, getStandbyWhitelistedIps, getSubnetId, getSubscriptionId, getVaultId, getWhitelistedIps
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CreateCrossRegionDisasterRecoveryDetails(String subscriptionId, String compartmentId, String characterSet, String ncharacterSet, String dbName, Integer cpuCoreCount, Integer backupRetentionPeriodInDays, CreateAutonomousDatabaseBase.ComputeModel computeModel, Float computeCount, Float ocpuCount, CreateAutonomousDatabaseBase.DbWorkload dbWorkload, Integer dataStorageSizeInTBs, Integer dataStorageSizeInGBs, Boolean isFreeTier, String kmsKeyId, String vaultId, AutonomousDatabaseEncryptionKeyDetails encryptionKey, String adminPassword, String displayName, CreateAutonomousDatabaseBase.LicenseModel licenseModel, Float byolComputeCountLimit, Boolean isPreviewVersionWithServiceTermsAccepted, Boolean isAutoScalingEnabled, Boolean isDevTier, Boolean isDedicated, String autonomousContainerDatabaseId, Integer inMemoryPercentage, Boolean isAccessControlEnabled, List<String> whitelistedIps, Boolean arePrimaryWhitelistedIpsUsed, List<String> standbyWhitelistedIps, Boolean isDataGuardEnabled, Boolean isLocalDataGuardEnabled, String subnetId, List<String> nsgIds, String privateEndpointLabel, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> securityAttributes, String privateEndpointIp, String dbVersion, List<CustomerContact> customerContacts, Boolean isMtlsConnectionRequired, String resourcePoolLeaderId, ResourcePoolSummary resourcePoolSummary, CreateAutonomousDatabaseBase.AutonomousMaintenanceScheduleType autonomousMaintenanceScheduleType, List<ScheduledOperationDetails> scheduledOperations, Boolean isAutoScalingForStorageEnabled, AutonomousDatabaseSummary.DatabaseEdition databaseEdition, List<DatabaseTool> dbToolsDetails, String secretId, Integer secretVersionNumber, String sourceId, DisasterRecoveryConfiguration.DisasterRecoveryType remoteDisasterRecoveryType, Boolean isReplicateAutomaticBackups)
public static CreateCrossRegionDisasterRecoveryDetails.Builder builder()
Create a new builder.
public CreateCrossRegionDisasterRecoveryDetails.Builder toBuilder()
public String getSourceId()
The OCID of the source Autonomous Database that will be used to create a new peer database for the DR association.
public DisasterRecoveryConfiguration.DisasterRecoveryType getRemoteDisasterRecoveryType()
Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.
public Boolean getIsReplicateAutomaticBackups()
If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database.
public String toString()
toString
in class CreateAutonomousDatabaseBase
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CreateAutonomousDatabaseBase
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CreateAutonomousDatabaseBase
public int hashCode()
hashCode
in class CreateAutonomousDatabaseBase
Copyright © 2016–2024. All rights reserved.