Package com.oracle.bmc.nosql.model
Class TableLimits.Builder
- java.lang.Object
-
- com.oracle.bmc.nosql.model.TableLimits.Builder
-
- Enclosing class:
- TableLimits
public static class TableLimits.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TableLimits
build()
TableLimits.Builder
capacityMode(TableLimits.CapacityMode capacityMode)
The capacity mode of the table.TableLimits.Builder
copy(TableLimits model)
TableLimits.Builder
maxReadUnits(Integer maxReadUnits)
Maximum sustained read throughput limit for the table.TableLimits.Builder
maxStorageInGBs(Integer maxStorageInGBs)
Maximum size of storage used by the table.TableLimits.Builder
maxWriteUnits(Integer maxWriteUnits)
Maximum sustained write throughput limit for the table.
-
-
-
Method Detail
-
maxReadUnits
public TableLimits.Builder maxReadUnits(Integer maxReadUnits)
Maximum sustained read throughput limit for the table.- Parameters:
maxReadUnits
- the value to set- Returns:
- this builder
-
maxWriteUnits
public TableLimits.Builder maxWriteUnits(Integer maxWriteUnits)
Maximum sustained write throughput limit for the table.- Parameters:
maxWriteUnits
- the value to set- Returns:
- this builder
-
maxStorageInGBs
public TableLimits.Builder maxStorageInGBs(Integer maxStorageInGBs)
Maximum size of storage used by the table.- Parameters:
maxStorageInGBs
- the value to set- Returns:
- this builder
-
capacityMode
public TableLimits.Builder capacityMode(TableLimits.CapacityMode capacityMode)
The capacity mode of the table.If capacityMode = ON_DEMAND, maxReadUnits and maxWriteUnits are not used, and both will have the value of zero.
- Parameters:
capacityMode
- the value to set- Returns:
- this builder
-
build
public TableLimits build()
-
copy
public TableLimits.Builder copy(TableLimits model)
-
-