Class DeleteRowRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.nosql.requests.DeleteRowRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<DeleteRowRequest,Void>
- Enclosing class:
- DeleteRowRequest
public static class DeleteRowRequest.Builder extends Object implements BmcRequest.Builder<DeleteRowRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteRowRequestbuild()Build the instance of DeleteRowRequest as configured by this builderDeleteRowRequestbuildWithoutInvocationCallback()Build the instance of DeleteRowRequest as configured by this builderDeleteRowRequest.BuildercompartmentId(String compartmentId)The ID of a table’s compartment.DeleteRowRequest.Buildercopy(DeleteRowRequest o)Copy method to populate the builder with values from the given instance.DeleteRowRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.DeleteRowRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.DeleteRowRequest.BuilderisGetReturnRow(Boolean isGetReturnRow)If true, and the operation fails due to an option setting (ifVersion et al), then the existing row will be returned.DeleteRowRequest.Builderkey(String singularValue)Singular setter.DeleteRowRequest.Builderkey(List<String> key)An array of strings, each of the format “column-name:value”, representing the primary key of the row.DeleteRowRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.DeleteRowRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.DeleteRowRequest.BuildertableNameOrId(String tableNameOrId)A table name within the compartment, or a table OCID.DeleteRowRequest.BuildertimeoutInMs(Integer timeoutInMs)Timeout setting for this operation.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
tableNameOrId
public DeleteRowRequest.Builder tableNameOrId(String tableNameOrId)
A table name within the compartment, or a table OCID.- Parameters:
tableNameOrId- the value to set- Returns:
- this builder instance
-
key
public DeleteRowRequest.Builder key(List<String> key)
An array of strings, each of the format “column-name:value”, representing the primary key of the row.- Parameters:
key- the value to set- Returns:
- this builder instance
-
key
public DeleteRowRequest.Builder key(String singularValue)
Singular setter.An array of strings, each of the format “column-name:value”, representing the primary key of the row.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
compartmentId
public DeleteRowRequest.Builder compartmentId(String compartmentId)
The ID of a table’s compartment.When a table is identified by name, the compartmentId is often needed to provide context for interpreting the name.
- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
isGetReturnRow
public DeleteRowRequest.Builder isGetReturnRow(Boolean isGetReturnRow)
If true, and the operation fails due to an option setting (ifVersion et al), then the existing row will be returned.- Parameters:
isGetReturnRow- the value to set- Returns:
- this builder instance
-
timeoutInMs
public DeleteRowRequest.Builder timeoutInMs(Integer timeoutInMs)
Timeout setting for this operation.- Parameters:
timeoutInMs- the value to set- Returns:
- this builder instance
-
ifMatch
public DeleteRowRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
opcRequestId
public DeleteRowRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public DeleteRowRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public DeleteRowRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public DeleteRowRequest.Builder copy(DeleteRowRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<DeleteRowRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public DeleteRowRequest build()
Build the instance of DeleteRowRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance.
- Specified by:
buildin interfaceBmcRequest.Builder<DeleteRowRequest,Void>- Returns:
- instance of DeleteRowRequest
-
buildWithoutInvocationCallback
public DeleteRowRequest buildWithoutInvocationCallback()
Build the instance of DeleteRowRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of DeleteRowRequest
-
-