Class CreateDataGuardAssociationToExistingDbSystemDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.CreateDataGuardAssociationDetails
-
- com.oracle.bmc.database.model.CreateDataGuardAssociationToExistingDbSystemDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateDataGuardAssociationToExistingDbSystemDetails extends CreateDataGuardAssociationDetailsThe 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
createDataGuardAssociationWithNewDbSystemDetailssubtype instead.
Note: Objects should always be created or deserialized using theCreateDataGuardAssociationToExistingDbSystemDetails.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 theCreateDataGuardAssociationToExistingDbSystemDetails.Builder, which maintain a set of all explicitly set fields calledCreateDataGuardAssociationToExistingDbSystemDetails.Builder.__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 classCreateDataGuardAssociationToExistingDbSystemDetails.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.database.model.CreateDataGuardAssociationDetails
CreateDataGuardAssociationDetails.ProtectionMode, CreateDataGuardAssociationDetails.TransportType
-
-
Constructor Summary
Constructors Constructor Description CreateDataGuardAssociationToExistingDbSystemDetails(String databaseSoftwareImageId, String databaseAdminPassword, EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails, CreateDataGuardAssociationDetails.ProtectionMode protectionMode, CreateDataGuardAssociationDetails.TransportType transportType, Boolean isActiveDataGuardEnabled, String peerDbUniqueName, String peerSidPrefix, String peerDbSystemId, String peerDbHomeId)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDataGuardAssociationToExistingDbSystemDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetPeerDbHomeId()The OCID of the DB home in which to create the standby database.StringgetPeerDbSystemId()The OCID of the DB system in which to create the standby database.inthashCode()CreateDataGuardAssociationToExistingDbSystemDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.database.model.CreateDataGuardAssociationDetails
getDatabaseAdminPassword, getDatabaseSoftwareImageId, getIsActiveDataGuardEnabled, getPeerDbUniqueName, getPeerSidPrefix, getProtectionMode, getSourceEncryptionKeyLocationDetails, getTransportType
-
-
-
-
Constructor Detail
-
CreateDataGuardAssociationToExistingDbSystemDetails
@Deprecated public CreateDataGuardAssociationToExistingDbSystemDetails(String databaseSoftwareImageId, String databaseAdminPassword, EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails, CreateDataGuardAssociationDetails.ProtectionMode protectionMode, CreateDataGuardAssociationDetails.TransportType transportType, Boolean isActiveDataGuardEnabled, String peerDbUniqueName, String peerSidPrefix, String peerDbSystemId, String peerDbHomeId)
Deprecated.
-
-
Method Detail
-
builder
public static CreateDataGuardAssociationToExistingDbSystemDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateDataGuardAssociationToExistingDbSystemDetails.Builder toBuilder()
-
getPeerDbSystemId
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.
- Returns:
- the value
-
getPeerDbHomeId
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
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classCreateDataGuardAssociationDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classCreateDataGuardAssociationDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCreateDataGuardAssociationDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCreateDataGuardAssociationDetails
-
-