Package com.oracle.bmc.nosql.model
Class UpdateRowResult.Builder
- java.lang.Object
-
- com.oracle.bmc.nosql.model.UpdateRowResult.Builder
-
- Enclosing class:
- UpdateRowResult
public static class UpdateRowResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateRowResultbuild()UpdateRowResult.Buildercopy(UpdateRowResult model)UpdateRowResult.BuilderexistingValue(Map<String,Object> existingValue)The map of values from a row.UpdateRowResult.BuilderexistingVersion(String existingVersion)The version string associated with the existing row.UpdateRowResult.BuildergeneratedValue(String generatedValue)The value generated if the operation created a new value for an identity column.UpdateRowResult.Builderusage(RequestUsage usage)UpdateRowResult.Builderversion(String version)An opaque version string associated with the row.
-
-
-
Method Detail
-
version
public UpdateRowResult.Builder version(String version)
An opaque version string associated with the row.- Parameters:
version- the value to set- Returns:
- this builder
-
existingVersion
public UpdateRowResult.Builder existingVersion(String existingVersion)
The version string associated with the existing row.Returned if the put fails due to options setting in the request.
- Parameters:
existingVersion- the value to set- Returns:
- this builder
-
existingValue
public UpdateRowResult.Builder existingValue(Map<String,Object> existingValue)
The map of values from a row.- Parameters:
existingValue- the value to set- Returns:
- this builder
-
generatedValue
public UpdateRowResult.Builder generatedValue(String generatedValue)
The value generated if the operation created a new value for an identity column.If the table has no identity column, this value is null. If it has an identity column, and a value was generated for that column, it is non-null.
- Parameters:
generatedValue- the value to set- Returns:
- this builder
-
usage
public UpdateRowResult.Builder usage(RequestUsage usage)
-
build
public UpdateRowResult build()
-
copy
public UpdateRowResult.Builder copy(UpdateRowResult model)
-
-