Class CreateDataGuardAssociationToExistingVmClusterDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.CreateDataGuardAssociationDetails
-
- com.oracle.bmc.database.model.CreateDataGuardAssociationToExistingVmClusterDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class CreateDataGuardAssociationToExistingVmClusterDetails extends CreateDataGuardAssociationDetailsThe configuration details for creating a Data Guard association for a ExaCC Vmcluster database.For these types of vm cluster databases, the creationType should be ExistingVmCluster. A standby database will be created in the VM cluster you specify.
Note: Objects should always be created or deserialized using theCreateDataGuardAssociationToExistingVmClusterDetails.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 theCreateDataGuardAssociationToExistingVmClusterDetails.Builder, which maintain a set of all explicitly set fields calledCreateDataGuardAssociationToExistingVmClusterDetails.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 classCreateDataGuardAssociationToExistingVmClusterDetails.Builder-
Nested classes/interfaces inherited from class com.oracle.bmc.database.model.CreateDataGuardAssociationDetails
CreateDataGuardAssociationDetails.ProtectionMode, CreateDataGuardAssociationDetails.TransportType
-
-
Constructor Summary
Constructors Constructor Description CreateDataGuardAssociationToExistingVmClusterDetails(String databaseSoftwareImageId, String databaseAdminPassword, EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails, CreateDataGuardAssociationDetails.ProtectionMode protectionMode, CreateDataGuardAssociationDetails.TransportType transportType, Boolean isActiveDataGuardEnabled, String peerDbUniqueName, String peerSidPrefix, String peerVmClusterId, String peerDbHomeId)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDataGuardAssociationToExistingVmClusterDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetPeerDbHomeId()The OCID of the DB home in which to create the standby database.StringgetPeerVmClusterId()The OCID of the VM Cluster in which to create the standby database.inthashCode()CreateDataGuardAssociationToExistingVmClusterDetails.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
-
CreateDataGuardAssociationToExistingVmClusterDetails
@Deprecated public CreateDataGuardAssociationToExistingVmClusterDetails(String databaseSoftwareImageId, String databaseAdminPassword, EncryptionKeyLocationDetails sourceEncryptionKeyLocationDetails, CreateDataGuardAssociationDetails.ProtectionMode protectionMode, CreateDataGuardAssociationDetails.TransportType transportType, Boolean isActiveDataGuardEnabled, String peerDbUniqueName, String peerSidPrefix, String peerVmClusterId, String peerDbHomeId)
Deprecated.
-
-
Method Detail
-
builder
public static CreateDataGuardAssociationToExistingVmClusterDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateDataGuardAssociationToExistingVmClusterDetails.Builder toBuilder()
-
getPeerVmClusterId
public String getPeerVmClusterId()
The OCID of the VM Cluster in which to create the standby database.You must supply this value if creationType is ExistingVmCluster.
- 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
-
-