Class ManagedMySqlDatabaseInboundReplicationCollection
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasemanagement.model.ManagedMySqlDatabaseInboundReplicationCollection
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class ManagedMySqlDatabaseInboundReplicationCollection extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The collection of inbound replication records for a specific MySQL server.
Note: Objects should always be created or deserialized using theManagedMySqlDatabaseInboundReplicationCollection.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 theManagedMySqlDatabaseInboundReplicationCollection.Builder
, which maintain a set of all explicitly set fields calledManagedMySqlDatabaseInboundReplicationCollection.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
ManagedMySqlDatabaseInboundReplicationCollection.Builder
-
Constructor Summary
Constructors Constructor Description ManagedMySqlDatabaseInboundReplicationCollection(Integer inboundReplicationsCount, String replicaUuid, Long replicaServerId, Integer parallelWorkers, String preserveCommitOrder, List<ManagedMySqlDatabaseInboundReplicationSummary> items)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedMySqlDatabaseInboundReplicationCollection.Builder
builder()
Create a new builder.boolean
equals(Object o)
Integer
getInboundReplicationsCount()
The number of sources this server is replicating from.List<ManagedMySqlDatabaseInboundReplicationSummary>
getItems()
A list of ManagedMySqlDatabaseInboundReplicationSummary records.Integer
getParallelWorkers()
The number of applier threads for executing replication transactions in parallel.String
getPreserveCommitOrder()
For multi-threaded replicas, indicates if transactions are executed and committed on the replica in the same order as they appear in the relay log.Long
getReplicaServerId()
The server ID value of this replica.String
getReplicaUuid()
The Universally Unique Identifier (UUID) value of this replica server.int
hashCode()
ManagedMySqlDatabaseInboundReplicationCollection.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ManagedMySqlDatabaseInboundReplicationCollection
@Deprecated @ConstructorProperties({"inboundReplicationsCount","replicaUuid","replicaServerId","parallelWorkers","preserveCommitOrder","items"}) public ManagedMySqlDatabaseInboundReplicationCollection(Integer inboundReplicationsCount, String replicaUuid, Long replicaServerId, Integer parallelWorkers, String preserveCommitOrder, List<ManagedMySqlDatabaseInboundReplicationSummary> items)
Deprecated.
-
-
Method Detail
-
builder
public static ManagedMySqlDatabaseInboundReplicationCollection.Builder builder()
Create a new builder.
-
toBuilder
public ManagedMySqlDatabaseInboundReplicationCollection.Builder toBuilder()
-
getInboundReplicationsCount
public Integer getInboundReplicationsCount()
The number of sources this server is replicating from.- Returns:
- the value
-
getReplicaUuid
public String getReplicaUuid()
The Universally Unique Identifier (UUID) value of this replica server.- Returns:
- the value
-
getReplicaServerId
public Long getReplicaServerId()
The server ID value of this replica.- Returns:
- the value
-
getParallelWorkers
public Integer getParallelWorkers()
The number of applier threads for executing replication transactions in parallel.- Returns:
- the value
-
getPreserveCommitOrder
public String getPreserveCommitOrder()
For multi-threaded replicas, indicates if transactions are executed and committed on the replica in the same order as they appear in the relay log.- Returns:
- the value
-
getItems
public List<ManagedMySqlDatabaseInboundReplicationSummary> getItems()
A list of ManagedMySqlDatabaseInboundReplicationSummary records.- 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
-
-