Package com.oracle.bmc.nosql.requests
Class GetRowRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.nosql.requests.GetRowRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetRowRequest,Void>
- Enclosing class:
- GetRowRequest
public static class GetRowRequest.Builder extends Object implements BmcRequest.Builder<GetRowRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetRowRequest
build()
Build the instance of GetRowRequest as configured by this builderGetRowRequest
buildWithoutInvocationCallback()
Build the instance of GetRowRequest as configured by this builderGetRowRequest.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(String singularValue)
Singular setter.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
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.-
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 GetRowRequest.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 GetRowRequest.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 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.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
compartmentId
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.
- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
consistency
public GetRowRequest.Builder consistency(GetRowRequest.Consistency consistency)
Consistency requirement for a read operation.- Parameters:
consistency
- the value to set- Returns:
- this builder instance
-
timeoutInMs
public GetRowRequest.Builder timeoutInMs(Integer timeoutInMs)
Timeout setting for this operation.- Parameters:
timeoutInMs
- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetRowRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetRowRequest.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 GetRowRequest.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 GetRowRequest.Builder copy(GetRowRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GetRowRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetRowRequest build()
Build the instance of GetRowRequest 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:
build
in interfaceBmcRequest.Builder<GetRowRequest,Void>
- Returns:
- instance of GetRowRequest
-
buildWithoutInvocationCallback
public GetRowRequest buildWithoutInvocationCallback()
Build the instance of GetRowRequest 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 GetRowRequest
-
-