public static class GetRowRequest.Builder extends Object implements BmcRequest.Builder<GetRowRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetRowRequest |
build()
Build the instance of GetRowRequest as configured by this builder
|
GetRowRequest |
buildWithoutInvocationCallback()
Build the instance of GetRowRequest as configured by this builder
|
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(com.oracle.bmc.http.client.RequestInterceptor 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public GetRowRequest.Builder tableNameOrId(String tableNameOrId)
A table name within the compartment, or a table OCID.
tableNameOrId
- the value to setpublic GetRowRequest.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 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.
singularValue
- the singular value to setpublic 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.
compartmentId
- the value to setpublic GetRowRequest.Builder consistency(GetRowRequest.Consistency consistency)
Consistency requirement for a read operation.
consistency
- the value to setpublic GetRowRequest.Builder timeoutInMs(Integer timeoutInMs)
Timeout setting for this operation.
timeoutInMs
- the value to setpublic GetRowRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic GetRowRequest.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 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.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<GetRowRequest,Void>
public GetRowRequest buildWithoutInvocationCallback()
Build the instance of GetRowRequest 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.