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 Replicabuild()Replica.BuildercapacityMode(Replica.CapacityMode capacityMode)The capacity mode of the replica.Replica.Buildercopy(Replica model)Replica.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.Replica.BuilderlifecycleState(Replica.LifecycleState lifecycleState)The state of the replica.Replica.BuildermaxWriteUnits(Integer maxWriteUnits)Maximum sustained write throughput limit of the replica table.Replica.Builderregion(String region)A customer-facing region identifierReplica.BuildertableId(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)
-
-