Class CreateDataGuardAssociationDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.CreateDataGuardAssociationDetails
-
- Direct Known Subclasses:
CreateDataGuardAssociationToExistingDbSystemDetails,CreateDataGuardAssociationToExistingVmClusterDetails,CreateDataGuardAssociationWithNewDbSystemDetails
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class CreateDataGuardAssociationDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe 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 theBuilder. 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 theBuilder, which maintain a set of all explicitly set fields calledBuilder#__explicitlySet__. ThehashCode()andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateDataGuardAssociationDetails.ProtectionModeThe protection mode to set up between the primary and standby databases.static classCreateDataGuardAssociationDetails.TransportTypeThe redo transport type to use for this Data Guard association.
-
Constructor Summary
Constructors Modifier Constructor Description protectedCreateDataGuardAssociationDetails(String databaseSoftwareImageId, String databaseAdminPassword, EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails, CreateDataGuardAssociationDetails.ProtectionMode protectionMode, CreateDataGuardAssociationDetails.TransportType transportType, Boolean isActiveDataGuardEnabled, String peerDbUniqueName, String peerSidPrefix)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetDatabaseAdminPassword()A strong password for the SYS, SYSTEM, and PDB Admin users to apply during standby creation.StringgetDatabaseSoftwareImageId()The database software image OCIDBooleangetIsActiveDataGuardEnabled()True if active Data Guard is enabled.StringgetPeerDbUniqueName()Specifies the DB_UNIQUE_NAME of the peer database to be created.StringgetPeerSidPrefix()Specifies a prefix for the Oracle SID of the database to be created.CreateDataGuardAssociationDetails.ProtectionModegetProtectionMode()The protection mode to set up between the primary and standby databases.EncryptionKeyLocationDetailsgetSourceEncryptionKeyLocationDetails()CreateDataGuardAssociationDetails.TransportTypegetTransportType()The redo transport type to use for this Data Guard association.inthashCode()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateDataGuardAssociationDetails
@Deprecated @ConstructorProperties({"databaseSoftwareImageId","databaseAdminPassword","sourceEncryptionKeyLocationDetails","protectionMode","transportType","isActiveDataGuardEnabled","peerDbUniqueName","peerSidPrefix"}) protected CreateDataGuardAssociationDetails(String databaseSoftwareImageId, String databaseAdminPassword, EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails, CreateDataGuardAssociationDetails.ProtectionMode protectionMode, CreateDataGuardAssociationDetails.TransportType transportType, Boolean isActiveDataGuardEnabled, String peerDbUniqueName, String peerSidPrefix)
Deprecated.
-
-
Method Detail
-
getDatabaseSoftwareImageId
public String getDatabaseSoftwareImageId()
The database software image OCID- Returns:
- the value
-
getDatabaseAdminPassword
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.**
- Returns:
- the value
-
getSourceEncryptionKeyLocationDetails
public EncryptionKeyLocationDetails getSourceEncryptionKeyLocationDetails()
-
getProtectionMode
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.
- Returns:
- the value
-
getTransportType
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.
- Returns:
- the value
-
getIsActiveDataGuardEnabled
public Boolean getIsActiveDataGuardEnabled()
True if active Data Guard is enabled.- Returns:
- the value
-
getPeerDbUniqueName
public String getPeerDbUniqueName()
Specifies the DB_UNIQUE_NAME of the peer database to be created.- Returns:
- the value
-
getPeerSidPrefix
public String getPeerSidPrefix()
Specifies a prefix for the Oracle SID of the database to be created.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-