Class Replica.Builder

  • Enclosing class:
    Replica

    public static class Replica.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • region

        public Replica.Builder region​(String region)
        A customer-facing region identifier
        Parameters:
        region - the value to set
        Returns:
        this builder
      • tableId

        public Replica.Builder tableId​(String tableId)
        The OCID of the replica table
        Parameters:
        tableId - the value to set
        Returns:
        this builder
      • maxWriteUnits

        public Replica.Builder maxWriteUnits​(Integer maxWriteUnits)
        Maximum sustained write throughput limit of the replica table.
        Parameters:
        maxWriteUnits - the value to set
        Returns:
        this builder
      • capacityMode

        public Replica.Builder capacityMode​(Replica.CapacityMode capacityMode)
        The capacity mode of the replica.
        Parameters:
        capacityMode - the value to set
        Returns:
        this builder
      • lifecycleState

        public Replica.Builder lifecycleState​(Replica.LifecycleState lifecycleState)
        The state of the replica.
        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public Replica.Builder lifecycleDetails​(String lifecycleDetails)
        A message describing the current state in more detail.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder