public static class CreateReplicaDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
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.
compartmentId
- the value to setpublic CreateReplicaDetails.Builder region(String region)
Name of the remote region in standard OCI format, i.e. us-ashburn-1
region
- the value to setpublic 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.
maxReadUnits
- the value to setpublic 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.
maxWriteUnits
- the value to setpublic CreateReplicaDetails build()
public CreateReplicaDetails.Builder copy(CreateReplicaDetails model)
Copyright © 2016–2024. All rights reserved.