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