Package com.oracle.bmc.nosql.model
Class CreateReplicaDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.nosql.model.CreateReplicaDetails.Builder
-
- Enclosing class:
- CreateReplicaDetails
public static class CreateReplicaDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateReplicaDetails
build()
CreateReplicaDetails.Builder
compartmentId(String compartmentId)
The OCID of the table’s compartment.CreateReplicaDetails.Builder
copy(CreateReplicaDetails model)
CreateReplicaDetails.Builder
maxReadUnits(Integer maxReadUnits)
Maximum sustained read throughput limit for the new replica table.CreateReplicaDetails.Builder
maxWriteUnits(Integer maxWriteUnits)
Maximum sustained write throughput limit for the new replica table.CreateReplicaDetails.Builder
region(String region)
Name of the remote region in standard OCI format, i.e.
-
-
-
Method Detail
-
compartmentId
public CreateReplicaDetails.Builder compartmentId(String compartmentId)
The OCID of the table’s compartment.Required if the tableNameOrId path parameter is a table name. Optional if tableNameOrId is an OCID. If tableNameOrId is an OCID, and compartmentId is supplied, the latter must match the identified table’s compartmentId.
- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
region
public CreateReplicaDetails.Builder region(String region)
Name of the remote region in standard OCI format, i.e.us-ashburn-1
- Parameters:
region
- the value to set- Returns:
- this builder
-
maxReadUnits
public CreateReplicaDetails.Builder maxReadUnits(Integer maxReadUnits)
Maximum sustained read throughput limit for the new replica table.If not specified, the local table’s read limit is used.
- Parameters:
maxReadUnits
- the value to set- Returns:
- this builder
-
maxWriteUnits
public CreateReplicaDetails.Builder maxWriteUnits(Integer maxWriteUnits)
Maximum sustained write throughput limit for the new replica table.If not specified, the local table’s write limit is used.
- Parameters:
maxWriteUnits
- the value to set- Returns:
- this builder
-
build
public CreateReplicaDetails build()
-
copy
public CreateReplicaDetails.Builder copy(CreateReplicaDetails model)
-
-