Package com.oracle.bmc.nosql.model
Class UpdateRowDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.nosql.model.UpdateRowDetails.Builder
-
- Enclosing class:
- UpdateRowDetails
public static class UpdateRowDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateRowDetails
build()
UpdateRowDetails.Builder
compartmentId(String compartmentId)
The OCID of the table’s compartment.UpdateRowDetails.Builder
copy(UpdateRowDetails model)
UpdateRowDetails.Builder
identityCacheSize(Integer identityCacheSize)
Sets the number of generated identity values that are requested from the server during a put.UpdateRowDetails.Builder
isExactMatch(Boolean isExactMatch)
If present and true, the presented row value must exactly match the table’s schema.UpdateRowDetails.Builder
isGetReturnRow(Boolean isGetReturnRow)
If true, and the put fails due to an option setting, then the existing row will be returned.UpdateRowDetails.Builder
isTtlUseTableDefault(Boolean isTtlUseTableDefault)
If true, set time-to-live for this row to the table’s default.UpdateRowDetails.Builder
option(UpdateRowDetails.Option option)
Specifies a condition for the put operation.UpdateRowDetails.Builder
timeoutInMs(Integer timeoutInMs)
Timeout setting for the put.UpdateRowDetails.Builder
ttl(Integer ttl)
Time-to-live for the row, in days.UpdateRowDetails.Builder
value(Map<String,Object> value)
The map of values from a row.
-
-
-
Method Detail
-
compartmentId
public UpdateRowDetails.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
-
value
public UpdateRowDetails.Builder value(Map<String,Object> value)
The map of values from a row.- Parameters:
value
- the value to set- Returns:
- this builder
-
option
public UpdateRowDetails.Builder option(UpdateRowDetails.Option option)
Specifies a condition for the put operation.- Parameters:
option
- the value to set- Returns:
- this builder
-
isGetReturnRow
public UpdateRowDetails.Builder isGetReturnRow(Boolean isGetReturnRow)
If true, and the put fails due to an option setting, then the existing row will be returned.- Parameters:
isGetReturnRow
- the value to set- Returns:
- this builder
-
timeoutInMs
public UpdateRowDetails.Builder timeoutInMs(Integer timeoutInMs)
Timeout setting for the put.- Parameters:
timeoutInMs
- the value to set- Returns:
- this builder
-
ttl
public UpdateRowDetails.Builder ttl(Integer ttl)
Time-to-live for the row, in days.- Parameters:
ttl
- the value to set- Returns:
- this builder
-
isTtlUseTableDefault
public UpdateRowDetails.Builder isTtlUseTableDefault(Boolean isTtlUseTableDefault)
If true, set time-to-live for this row to the table’s default.- Parameters:
isTtlUseTableDefault
- the value to set- Returns:
- this builder
-
identityCacheSize
public UpdateRowDetails.Builder identityCacheSize(Integer identityCacheSize)
Sets the number of generated identity values that are requested from the server during a put.If present and greater than 0, this value takes precedence over a default value for the table.
- Parameters:
identityCacheSize
- the value to set- Returns:
- this builder
-
isExactMatch
public UpdateRowDetails.Builder isExactMatch(Boolean isExactMatch)
If present and true, the presented row value must exactly match the table’s schema.Otherwise, rows with missing non-key fields or extra fields can be written successfully.
- Parameters:
isExactMatch
- the value to set- Returns:
- this builder
-
build
public UpdateRowDetails build()
-
copy
public UpdateRowDetails.Builder copy(UpdateRowDetails model)
-
-