Package com.oracle.bmc.nosql.requests
Class GetIndexRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.nosql.requests.GetIndexRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetIndexRequest,Void>
- Enclosing class:
- GetIndexRequest
public static class GetIndexRequest.Builder extends Object implements BmcRequest.Builder<GetIndexRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetIndexRequestbuild()Build the instance of GetIndexRequest as configured by this builderGetIndexRequestbuildWithoutInvocationCallback()Build the instance of GetIndexRequest as configured by this builderGetIndexRequest.BuildercompartmentId(String compartmentId)The ID of a table’s compartment.GetIndexRequest.Buildercopy(GetIndexRequest o)Copy method to populate the builder with values from the given instance.GetIndexRequest.BuilderindexName(String indexName)The name of a table’s index.GetIndexRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.GetIndexRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.GetIndexRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.GetIndexRequest.BuildertableNameOrId(String tableNameOrId)A table name within the compartment, or a table OCID.-
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 GetIndexRequest.Builder tableNameOrId(String tableNameOrId)
A table name within the compartment, or a table OCID.- Parameters:
tableNameOrId- the value to set- Returns:
- this builder instance
-
indexName
public GetIndexRequest.Builder indexName(String indexName)
The name of a table’s index.- Parameters:
indexName- the value to set- Returns:
- this builder instance
-
compartmentId
public GetIndexRequest.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
-
opcRequestId
public GetIndexRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetIndexRequest.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 GetIndexRequest.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 GetIndexRequest.Builder copy(GetIndexRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<GetIndexRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public GetIndexRequest build()
Build the instance of GetIndexRequest 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:
buildin interfaceBmcRequest.Builder<GetIndexRequest,Void>- Returns:
- instance of GetIndexRequest
-
buildWithoutInvocationCallback
public GetIndexRequest buildWithoutInvocationCallback()
Build the instance of GetIndexRequest 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 GetIndexRequest
-
-