public static class UpdateRowDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
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.
compartmentId
- the value to setpublic UpdateRowDetails.Builder value(Map<String,Object> value)
The map of values from a row.
value
- the value to setpublic UpdateRowDetails.Builder option(UpdateRowDetails.Option option)
Specifies a condition for the put operation.
option
- the value to setpublic UpdateRowDetails.Builder isGetReturnRow(Boolean isGetReturnRow)
If true, and the put fails due to an option setting, then the existing row will be returned.
isGetReturnRow
- the value to setpublic UpdateRowDetails.Builder timeoutInMs(Integer timeoutInMs)
Timeout setting for the put.
timeoutInMs
- the value to setpublic UpdateRowDetails.Builder ttl(Integer ttl)
Time-to-live for the row, in days.
ttl
- the value to setpublic UpdateRowDetails.Builder isTtlUseTableDefault(Boolean isTtlUseTableDefault)
If true, set time-to-live for this row to the table’s default.
isTtlUseTableDefault
- the value to setpublic 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.
identityCacheSize
- the value to setpublic 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.
isExactMatch
- the value to setpublic UpdateRowDetails build()
public UpdateRowDetails.Builder copy(UpdateRowDetails model)
Copyright © 2016–2024. All rights reserved.