@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateStandbyDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Standby Creation Details.
Note: Objects should always be created or deserialized using the CreateStandbyDetails.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 CreateStandbyDetails.Builder
, which maintain a
set of all explicitly set fields called CreateStandbyDetails.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 |
CreateStandbyDetails.Builder |
static class |
CreateStandbyDetails.ProtectionMode
The protection mode of this Data Guard.
|
static class |
CreateStandbyDetails.TransportType
The redo transport type to use for this Data Guard association.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateStandbyDetails(String sourceDatabaseId,
String databaseAdminPassword,
String sourceTdeWalletPassword,
EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails,
Boolean isActiveDataGuardEnabled,
String dbUniqueName,
String sidPrefix,
CreateStandbyDetails.ProtectionMode protectionMode,
CreateStandbyDetails.TransportType transportType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CreateStandbyDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getDatabaseAdminPassword()
The administrator password of the primary database in this Data Guard association.
|
String |
getDbUniqueName()
Specifies the
DB_UNIQUE_NAME of the peer database to be created. |
Boolean |
getIsActiveDataGuardEnabled()
True if active Data Guard is enabled.
|
CreateStandbyDetails.ProtectionMode |
getProtectionMode()
The protection mode of this Data Guard.
|
String |
getSidPrefix()
Specifies a prefix for the
Oracle SID of the database to be created. |
String |
getSourceDatabaseId()
The OCID of the
source database.
|
EncryptionKeyLocationDetails |
getSourceEncryptionKeyLocationDetails() |
String |
getSourceTdeWalletPassword()
The TDE wallet password of the source database specified by ‘sourceDatabaseId’.
|
CreateStandbyDetails.TransportType |
getTransportType()
The redo transport type to use for this Data Guard association.
|
int |
hashCode() |
CreateStandbyDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"sourceDatabaseId","databaseAdminPassword","sourceTdeWalletPassword","sourceEncryptionKeyLocationDetails","isActiveDataGuardEnabled","dbUniqueName","sidPrefix","protectionMode","transportType"}) public CreateStandbyDetails(String sourceDatabaseId, String databaseAdminPassword, String sourceTdeWalletPassword, EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails, Boolean isActiveDataGuardEnabled, String dbUniqueName, String sidPrefix, CreateStandbyDetails.ProtectionMode protectionMode, CreateStandbyDetails.TransportType transportType)
public static CreateStandbyDetails.Builder builder()
Create a new builder.
public CreateStandbyDetails.Builder toBuilder()
public String getSourceDatabaseId()
The OCID of the source database.
public String getDatabaseAdminPassword()
The administrator password of the primary database in this Data Guard association.
*The password MUST be the same as the primary admin password.**
public String getSourceTdeWalletPassword()
The TDE wallet password of the source database specified by ‘sourceDatabaseId’.
public EncryptionKeyLocationDetails getSourceEncryptionKeyLocationDetails()
public Boolean getIsActiveDataGuardEnabled()
True if active Data Guard is enabled.
public String getDbUniqueName()
Specifies the DB_UNIQUE_NAME
of the peer database to be created.
public String getSidPrefix()
Specifies a prefix for the Oracle SID
of the database to be created.
public CreateStandbyDetails.ProtectionMode getProtectionMode()
The protection mode of this Data Guard. For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
public CreateStandbyDetails.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 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–2025. All rights reserved.