@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 ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__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,
Boolean isActiveDataGuardEnabled,
String peerDbUniqueName,
String peerSidPrefix,
String peerDbSystemId,
String peerDbHomeId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateDataGuardAssociationToExistingDbSystemDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
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() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getDatabaseAdminPassword, getDatabaseSoftwareImageId, getIsActiveDataGuardEnabled, getPeerDbUniqueName, getPeerSidPrefix, getProtectionMode, getTransportType
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CreateDataGuardAssociationToExistingDbSystemDetails(String databaseSoftwareImageId, String databaseAdminPassword, CreateDataGuardAssociationDetails.ProtectionMode protectionMode, CreateDataGuardAssociationDetails.TransportType transportType, Boolean isActiveDataGuardEnabled, String peerDbUniqueName, String peerSidPrefix, 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 String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CreateDataGuardAssociationDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CreateDataGuardAssociationDetails
public int hashCode()
hashCode
in class CreateDataGuardAssociationDetails
Copyright © 2016–2023. All rights reserved.