Class DataGuardAssociationSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.DataGuardAssociationSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DataGuardAssociationSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The properties that define a Data Guard association.To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).
For information about endpoints and signing API requests, see [About the API](https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm). For information about available SDKs and tools, see [SDKS and Other Tools](https://docs.oracle.com/iaas/Content/API/Concepts/sdks.htm).
Note: Objects should always be created or deserialized using theDataGuardAssociationSummary.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 theDataGuardAssociationSummary.Builder
, which maintain a set of all explicitly set fields calledDataGuardAssociationSummary.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 class
DataGuardAssociationSummary.Builder
static class
DataGuardAssociationSummary.LifecycleState
The current state of the Data Guard association.static class
DataGuardAssociationSummary.PeerRole
The role of the peer database in this Data Guard association.static class
DataGuardAssociationSummary.ProtectionMode
The protection mode of this Data Guard association.static class
DataGuardAssociationSummary.Role
The role of the reporting database in this Data Guard association.static class
DataGuardAssociationSummary.TransportType
The redo transport type used by this Data Guard association.
-
Constructor Summary
Constructors Constructor Description DataGuardAssociationSummary(String id, String databaseId, DataGuardAssociationSummary.Role role, DataGuardAssociationSummary.LifecycleState lifecycleState, String lifecycleDetails, String peerDbSystemId, String peerDbHomeId, String peerDatabaseId, String peerDataGuardAssociationId, DataGuardAssociationSummary.PeerRole peerRole, String applyLag, String applyRate, DataGuardAssociationSummary.ProtectionMode protectionMode, DataGuardAssociationSummary.TransportType transportType, Date timeCreated, Boolean isActiveDataGuardEnabled)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataGuardAssociationSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getApplyLag()
The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database.String
getApplyRate()
The rate at which redo logs are synced between the associated databases.String
getDatabaseId()
The OCID of the reporting database.String
getId()
The OCID of the Data Guard association.Boolean
getIsActiveDataGuardEnabled()
True if active Data Guard is enabled.String
getLifecycleDetails()
Additional information about the current lifecycleState, if available.DataGuardAssociationSummary.LifecycleState
getLifecycleState()
The current state of the Data Guard association.String
getPeerDatabaseId()
The OCID of the associated peer database.String
getPeerDataGuardAssociationId()
The OCID of the peer database’s Data Guard association.String
getPeerDbHomeId()
The OCID of the Database Home containing the associated peer database.String
getPeerDbSystemId()
The OCID of the DB system containing the associated peer database.DataGuardAssociationSummary.PeerRole
getPeerRole()
The role of the peer database in this Data Guard association.DataGuardAssociationSummary.ProtectionMode
getProtectionMode()
The protection mode of this Data Guard association.DataGuardAssociationSummary.Role
getRole()
The role of the reporting database in this Data Guard association.Date
getTimeCreated()
The date and time the Data Guard association was created.DataGuardAssociationSummary.TransportType
getTransportType()
The redo transport type used by this Data Guard association.int
hashCode()
DataGuardAssociationSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
DataGuardAssociationSummary
@Deprecated @ConstructorProperties({"id","databaseId","role","lifecycleState","lifecycleDetails","peerDbSystemId","peerDbHomeId","peerDatabaseId","peerDataGuardAssociationId","peerRole","applyLag","applyRate","protectionMode","transportType","timeCreated","isActiveDataGuardEnabled"}) public DataGuardAssociationSummary(String id, String databaseId, DataGuardAssociationSummary.Role role, DataGuardAssociationSummary.LifecycleState lifecycleState, String lifecycleDetails, String peerDbSystemId, String peerDbHomeId, String peerDatabaseId, String peerDataGuardAssociationId, DataGuardAssociationSummary.PeerRole peerRole, String applyLag, String applyRate, DataGuardAssociationSummary.ProtectionMode protectionMode, DataGuardAssociationSummary.TransportType transportType, Date timeCreated, Boolean isActiveDataGuardEnabled)
Deprecated.
-
-
Method Detail
-
builder
public static DataGuardAssociationSummary.Builder builder()
Create a new builder.
-
toBuilder
public DataGuardAssociationSummary.Builder toBuilder()
-
getRole
public DataGuardAssociationSummary.Role getRole()
The role of the reporting database in this Data Guard association.- Returns:
- the value
-
getLifecycleState
public DataGuardAssociationSummary.LifecycleState getLifecycleState()
The current state of the Data Guard association.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
Additional information about the current lifecycleState, if available.- Returns:
- the value
-
getPeerDbSystemId
public String getPeerDbSystemId()
The OCID of the DB system containing the associated peer database.- Returns:
- the value
-
getPeerDbHomeId
public String getPeerDbHomeId()
The OCID of the Database Home containing the associated peer database.- Returns:
- the value
-
getPeerDatabaseId
public String getPeerDatabaseId()
The OCID of the associated peer database.- Returns:
- the value
-
getPeerDataGuardAssociationId
public String getPeerDataGuardAssociationId()
The OCID of the peer database’s Data Guard association.- Returns:
- the value
-
getPeerRole
public DataGuardAssociationSummary.PeerRole getPeerRole()
The role of the peer database in this Data Guard association.- Returns:
- the value
-
getApplyLag
public String getApplyLag()
The lag time between updates to the primary database and application of the redo data on the standby database, as computed by the reporting database.Example: 9 seconds
- Returns:
- the value
-
getApplyRate
public String getApplyRate()
The rate at which redo logs are synced between the associated databases.Example: 180 Mb per second
- Returns:
- the value
-
getProtectionMode
public DataGuardAssociationSummary.ProtectionMode getProtectionMode()
The protection mode of this Data Guard association.For more information, see Oracle Data Guard Protection Modes in the Oracle Data Guard documentation.
- Returns:
- the value
-
getTransportType
public DataGuardAssociationSummary.TransportType getTransportType()
The redo transport type used by this Data Guard association.For more information, see Redo Transport Services in the Oracle Data Guard documentation.
- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
The date and time the Data Guard association was created.- Returns:
- the value
-
getIsActiveDataGuardEnabled
public Boolean getIsActiveDataGuardEnabled()
True if active Data Guard is enabled.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-