public static class DeleteRowRequest.Builder extends Object implements BmcRequest.Builder<DeleteRowRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DeleteRowRequest |
build()
Build the instance of DeleteRowRequest as configured by this builder
|
DeleteRowRequest |
buildWithoutInvocationCallback()
Build the instance of DeleteRowRequest as configured by this builder
|
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(com.oracle.bmc.http.client.RequestInterceptor 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public DeleteRowRequest.Builder tableNameOrId(String tableNameOrId)
A table name within the compartment, or a table OCID.
tableNameOrId
- the value to setpublic DeleteRowRequest.Builder key(List<String> key)
An array of strings, each of the format “column-name:value”, representing the primary key of the row.
key
- the value to setpublic 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.
singularValue
- the singular value to setpublic 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.
compartmentId
- the value to setpublic 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.
isGetReturnRow
- the value to setpublic DeleteRowRequest.Builder timeoutInMs(Integer timeoutInMs)
Timeout setting for this operation.
timeoutInMs
- the value to setpublic 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.
ifMatch
- the value to setpublic DeleteRowRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic DeleteRowRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor 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.http.client.RequestInterceptor)
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 buildWithoutInvocationCallback()
Build the instance of DeleteRowRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.