@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateDataGuardAssociationToExistingDbSystemDetails extends CreateDataGuardAssociationDetails
The configuration details for creating a Data Guard association for a bare metal or Exadata DB system database. For these types of DB system databases, the creationType
should be ExistingDbSystem
. A standby database will be created in the DB system you specify.
To create a Data Guard association for a database in a virtual machine DB system, use the createDataGuardAssociationWithNewDbSystemDetails
subtype instead.
Note: Objects should always be created or deserialized using the CreateDataGuardAssociationToExistingDbSystemDetails.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 CreateDataGuardAssociationToExistingDbSystemDetails.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateDataGuardAssociationToExistingDbSystemDetails.Builder |
CreateDataGuardAssociationDetails.ProtectionMode, CreateDataGuardAssociationDetails.TransportType
Constructor and Description |
---|
CreateDataGuardAssociationToExistingDbSystemDetails(String databaseSoftwareImageId,
String databaseAdminPassword,
CreateDataGuardAssociationDetails.ProtectionMode protectionMode,
CreateDataGuardAssociationDetails.TransportType transportType,
String peerDbSystemId,
String peerDbHomeId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateDataGuardAssociationToExistingDbSystemDetails.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getPeerDbHomeId()
The OCID of the DB home in which to create the standby database.
|
String |
getPeerDbSystemId()
The OCID of the DB system in which to create the standby database.
|
int |
hashCode() |
CreateDataGuardAssociationToExistingDbSystemDetails.Builder |
toBuilder() |
String |
toString() |
getDatabaseAdminPassword, getDatabaseSoftwareImageId, getProtectionMode, getTransportType
@Deprecated public CreateDataGuardAssociationToExistingDbSystemDetails(String databaseSoftwareImageId, String databaseAdminPassword, CreateDataGuardAssociationDetails.ProtectionMode protectionMode, CreateDataGuardAssociationDetails.TransportType transportType, String peerDbSystemId, String peerDbHomeId)
public static CreateDataGuardAssociationToExistingDbSystemDetails.Builder builder()
Create a new builder.
public CreateDataGuardAssociationToExistingDbSystemDetails.Builder toBuilder()
public String getPeerDbSystemId()
The OCID of the DB system in which to create the standby database.
You must supply this value if creationType is ExistingDbSystem
.
public String getPeerDbHomeId()
The OCID of the DB home in which to create the standby database. You must supply this value to create standby database with an existing DB home
public String toString()
toString
in class CreateDataGuardAssociationDetails
public boolean equals(Object o)
equals
in class CreateDataGuardAssociationDetails
protected boolean canEqual(Object other)
canEqual
in class CreateDataGuardAssociationDetails
public int hashCode()
hashCode
in class CreateDataGuardAssociationDetails
Copyright © 2016–2021. All rights reserved.