Package oracle.nosql.driver.ops

# Class TableResult.Replica

java.lang.Object
oracle.nosql.driver.ops.TableResult.Replica

Enclosing class:
  TableResult

public static class TableResult.Replica extends Object
Cloud service only. Information representing a single remote replica

Since:
  5.4.13

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TableLimits.CapacityMode`
  `getCapacityMode()`
  Returns the capacity mode of the replica table
  `String`
  `getReplicaName()`
  Returns the name of the replica.
  `TableResult.State`
  `getState()`
  Returns the operational state of replica table
  `String`
  `getTableId()`
  Returns the OCID of the replica table
  `int`
  `getWriteUnits()`
  Returns the write units of the replica table
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### getReplicaName

    public String getReplicaName()
    Returns the name of the replica. This is the region name.
    Returns:
      the replica name

  - ### getTableId

    public String getTableId()
    Returns the OCID of the replica table
    Returns:
      the table OCID

  - ### getWriteUnits

    public int getWriteUnits()
    Returns the write units of the replica table
    Returns:
      the write units

  - ### getCapacityMode

    public TableLimits.CapacityMode getCapacityMode()
    Returns the capacity mode of the replica table
    Returns:
      the capacity mode

  - ### getState

    public TableResult.State getState()
    Returns the operational state of replica table
    Returns:
      the state

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`