Class UpdateDataGuardAssociationDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.UpdateDataGuardAssociationDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class UpdateDataGuardAssociationDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe configuration details for updating a Data Guard association for a database.*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 theUpdateDataGuardAssociationDetails.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 theUpdateDataGuardAssociationDetails.Builder, which maintain a set of all explicitly set fields calledUpdateDataGuardAssociationDetails.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 classUpdateDataGuardAssociationDetails.Builderstatic classUpdateDataGuardAssociationDetails.ProtectionModeThe protection mode for the Data Guard association’s primary and standby database.static classUpdateDataGuardAssociationDetails.TransportTypeThe redo transport type to use for this Data Guard association.
-
Constructor Summary
Constructors Constructor Description UpdateDataGuardAssociationDetails(String databaseAdminPassword, UpdateDataGuardAssociationDetails.ProtectionMode protectionMode, UpdateDataGuardAssociationDetails.TransportType transportType, Boolean isActiveDataGuardEnabled)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateDataGuardAssociationDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetDatabaseAdminPassword()A strong password for the ‘SYS’, ‘SYSTEM’, and ‘PDB Admin’ users to apply during standby creation.BooleangetIsActiveDataGuardEnabled()True if active Data Guard is enabled.UpdateDataGuardAssociationDetails.ProtectionModegetProtectionMode()The protection mode for the Data Guard association’s primary and standby database.UpdateDataGuardAssociationDetails.TransportTypegetTransportType()The redo transport type to use for this Data Guard association.inthashCode()UpdateDataGuardAssociationDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
UpdateDataGuardAssociationDetails
@Deprecated @ConstructorProperties({"databaseAdminPassword","protectionMode","transportType","isActiveDataGuardEnabled"}) public UpdateDataGuardAssociationDetails(String databaseAdminPassword, UpdateDataGuardAssociationDetails.ProtectionMode protectionMode, UpdateDataGuardAssociationDetails.TransportType transportType, Boolean isActiveDataGuardEnabled)
Deprecated.
-
-
Method Detail
-
builder
public static UpdateDataGuardAssociationDetails.Builder builder()
Create a new builder.
-
toBuilder
public UpdateDataGuardAssociationDetails.Builder toBuilder()
-
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
-
getProtectionMode
public UpdateDataGuardAssociationDetails.ProtectionMode getProtectionMode()
The protection mode for the Data Guard association’s primary and standby database.For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
- Returns:
- the value
-
getTransportType
public UpdateDataGuardAssociationDetails.TransportType getTransportType()
The redo transport type to use for this Data Guard association.Valid values depend on the specified ‘protectionMode’: * MAXIMUM_AVAILABILITY - Use SYNC or FASTSYNC * MAXIMUM_PERFORMANCE - Use ASYNC * MAXIMUM_PROTECTION - Use 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.
- Returns:
- the value
-
getIsActiveDataGuardEnabled
public Boolean getIsActiveDataGuardEnabled()
True if active Data Guard is enabled.Update this parameter to change the Data Guard setting.
- 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
-
-