Package com.oracle.bmc.nosql.model
Class Replica.Builder
- java.lang.Object
-
- com.oracle.bmc.nosql.model.Replica.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Replica
build()
Replica.Builder
capacityMode(Replica.CapacityMode capacityMode)
The capacity mode of the replica.Replica.Builder
copy(Replica model)
Replica.Builder
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.Replica.Builder
lifecycleState(Replica.LifecycleState lifecycleState)
The state of the replica.Replica.Builder
maxWriteUnits(Integer maxWriteUnits)
Maximum sustained write throughput limit of the replica table.Replica.Builder
region(String region)
A customer-facing region identifierReplica.Builder
tableId(String tableId)
The OCID of the replica table
-
-
-
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
-
build
public Replica build()
-
copy
public Replica.Builder copy(Replica model)
-
-