@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class CreateDataGuardAssociationDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The configuration details for creating a Data Guard association between databases.
*Warning:** Oracle recommends that you avoid using any confidential information when you
supply string values using the API.
Note: Objects should always be created or deserialized using the 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 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 |
CreateDataGuardAssociationDetails.ProtectionMode
The protection mode to set up between the primary and standby databases.
|
static class |
CreateDataGuardAssociationDetails.TransportType
The redo transport type to use for this Data Guard association.
|
Modifier | Constructor and Description |
---|---|
protected |
CreateDataGuardAssociationDetails(String databaseSoftwareImageId,
String databaseAdminPassword,
CreateDataGuardAssociationDetails.ProtectionMode protectionMode,
CreateDataGuardAssociationDetails.TransportType transportType,
Boolean isActiveDataGuardEnabled,
String peerDbUniqueName,
String peerSidPrefix)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDatabaseAdminPassword()
A strong password for the
SYS , SYSTEM , and PDB Admin users to apply
during standby creation. |
String |
getDatabaseSoftwareImageId()
The database software image
OCID
|
Boolean |
getIsActiveDataGuardEnabled()
True if active Data Guard is enabled.
|
String |
getPeerDbUniqueName()
Specifies the
DB_UNIQUE_NAME of the peer database to be created. |
String |
getPeerSidPrefix()
Specifies a prefix for the
Oracle SID of the database to be created. |
CreateDataGuardAssociationDetails.ProtectionMode |
getProtectionMode()
The protection mode to set up between the primary and standby databases.
|
CreateDataGuardAssociationDetails.TransportType |
getTransportType()
The redo transport type to use for this Data Guard association.
|
int |
hashCode() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"databaseSoftwareImageId","databaseAdminPassword","protectionMode","transportType","isActiveDataGuardEnabled","peerDbUniqueName","peerSidPrefix"}) protected CreateDataGuardAssociationDetails(String databaseSoftwareImageId, String databaseAdminPassword, CreateDataGuardAssociationDetails.ProtectionMode protectionMode, CreateDataGuardAssociationDetails.TransportType transportType, Boolean isActiveDataGuardEnabled, String peerDbUniqueName, String peerSidPrefix)
public String getDatabaseSoftwareImageId()
The database software image OCID
public String getDatabaseAdminPassword()
A strong password for the SYS
, SYSTEM
, and PDB Admin
users to apply
during standby creation.
The password must contain no fewer than nine characters and include:
At least two uppercase characters.
At least two lowercase characters.
At least two numeric characters.
At least two special characters. Valid special characters include "_", "#", and "-" only.
*The password MUST be the same as the primary admin password.**
public CreateDataGuardAssociationDetails.ProtectionMode getProtectionMode()
The protection mode to set up between the primary and standby databases. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
*IMPORTANT** - The only protection mode currently supported by the Database service is MAXIMUM_PERFORMANCE.
public CreateDataGuardAssociationDetails.TransportType getTransportType()
The redo transport type to use for this Data Guard association. Valid values depend on the
specified protectionMode
:
MAXIMUM_AVAILABILITY - SYNC or FASTSYNC * MAXIMUM_PERFORMANCE - ASYNC * MAXIMUM_PROTECTION - SYNC
For more information, see [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400) in the Oracle Data Guard documentation.
*IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
public Boolean getIsActiveDataGuardEnabled()
True if active Data Guard is enabled.
public String getPeerDbUniqueName()
Specifies the DB_UNIQUE_NAME
of the peer database to be created.
public String getPeerSidPrefix()
Specifies a prefix for the Oracle SID
of the database to be created.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2023. All rights reserved.