public static class DeleteRowRequest.Builder extends Object implements BmcRequest.Builder<DeleteRowRequest,Void>
Modifier and Type | Method and Description |
---|---|
DeleteRowRequest |
build()
Build the instance of DeleteRowRequest as configured by this builder
|
DeleteRowRequest |
buildWithoutInvocationCallback() |
DeleteRowRequest.Builder |
compartmentId(String compartmentId)
The ID of a table’s compartment.
|
DeleteRowRequest.Builder |
copy(DeleteRowRequest o)
Copy method to populate the builder with values from the given instance.
|
DeleteRowRequest.Builder |
ifMatch(String ifMatch)
For optimistic concurrency control.
|
DeleteRowRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
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.
|
DeleteRowRequest.Builder |
key(List<String> key)
An array of strings, each of the format “column-name:value”,
representing the primary key of the row.
|
DeleteRowRequest.Builder |
key(String singularValue)
Singular setter.
|
DeleteRowRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
DeleteRowRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
DeleteRowRequest.Builder |
tableNameOrId(String tableNameOrId)
A table name within the compartment, or a table OCID.
|
DeleteRowRequest.Builder |
timeoutInMs(Integer timeoutInMs)
Timeout setting for this operation.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
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.
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.
public DeleteRowRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic DeleteRowRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic DeleteRowRequest.Builder copy(DeleteRowRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<DeleteRowRequest,Void>
o
- other request from which to copy valuespublic DeleteRowRequest build()
Build the instance of DeleteRowRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<DeleteRowRequest,Void>
public DeleteRowRequest.Builder tableNameOrId(String tableNameOrId)
A table name within the compartment, or a table OCID.
this
.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.
this
.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.
this
.public DeleteRowRequest.Builder timeoutInMs(Integer timeoutInMs)
Timeout setting for this operation.
this
.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.
this
.public DeleteRowRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
this
.public DeleteRowRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.