@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 DB system database. 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.
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 databaseAdminPassword,
CreateDataGuardAssociationDetails.ProtectionMode protectionMode,
CreateDataGuardAssociationDetails.TransportType transportType,
String peerDbSystemId)
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 |
getPeerDbSystemId()
The OCID of the DB system in which to create the standby database.
|
int |
hashCode() |
String |
toString() |
getDatabaseAdminPassword, getProtectionMode, getTransportType
@Deprecated public CreateDataGuardAssociationToExistingDbSystemDetails(String databaseAdminPassword, CreateDataGuardAssociationDetails.ProtectionMode protectionMode, CreateDataGuardAssociationDetails.TransportType transportType, String peerDbSystemId)
public static CreateDataGuardAssociationToExistingDbSystemDetails.Builder builder()
Create a new builder.
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 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–2020. All rights reserved.