Package com.oracle.bmc.database.model
Class UpdateDataGuardDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.UpdateDataGuardDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class UpdateDataGuardDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe properties for updating a standby database.
Note: Objects should always be created or deserialized using theUpdateDataGuardDetails.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 theUpdateDataGuardDetails.Builder, which maintain a set of all explicitly set fields calledUpdateDataGuardDetails.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 classUpdateDataGuardDetails.Builderstatic classUpdateDataGuardDetails.ProtectionModeThe protection mode of this Data Guard.static classUpdateDataGuardDetails.TransportTypeThe redo transport type to use for this Data Guard association.
-
Constructor Summary
Constructors Constructor Description UpdateDataGuardDetails(String databaseAdminPassword, UpdateDataGuardDetails.ProtectionMode protectionMode, UpdateDataGuardDetails.TransportType transportType, Boolean isActiveDataGuardEnabled)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateDataGuardDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetDatabaseAdminPassword()The administrator password of the primary database in this Data Guard association.BooleangetIsActiveDataGuardEnabled()True if active Data Guard is enabled.UpdateDataGuardDetails.ProtectionModegetProtectionMode()The protection mode of this Data Guard.UpdateDataGuardDetails.TransportTypegetTransportType()The redo transport type to use for this Data Guard association.inthashCode()UpdateDataGuardDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
UpdateDataGuardDetails
@Deprecated @ConstructorProperties({"databaseAdminPassword","protectionMode","transportType","isActiveDataGuardEnabled"}) public UpdateDataGuardDetails(String databaseAdminPassword, UpdateDataGuardDetails.ProtectionMode protectionMode, UpdateDataGuardDetails.TransportType transportType, Boolean isActiveDataGuardEnabled)
Deprecated.
-
-
Method Detail
-
builder
public static UpdateDataGuardDetails.Builder builder()
Create a new builder.
-
toBuilder
public UpdateDataGuardDetails.Builder toBuilder()
-
getDatabaseAdminPassword
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.**
- Returns:
- the value
-
getProtectionMode
public UpdateDataGuardDetails.ProtectionMode getProtectionMode()
The protection mode of this Data Guard.For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
- Returns:
- the value
-
getTransportType
public UpdateDataGuardDetails.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
-
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
-
-