Package com.oracle.bmc.nosql.requests
Class ListTableUsageRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.nosql.requests.ListTableUsageRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListTableUsageRequest,Void>
- Enclosing class:
- ListTableUsageRequest
public static class ListTableUsageRequest.Builder extends Object implements BmcRequest.Builder<ListTableUsageRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTableUsageRequest
build()
Build the instance of ListTableUsageRequest as configured by this builderListTableUsageRequest
buildWithoutInvocationCallback()
Build the instance of ListTableUsageRequest as configured by this builderListTableUsageRequest.Builder
compartmentId(String compartmentId)
The ID of a table’s compartment.ListTableUsageRequest.Builder
copy(ListTableUsageRequest o)
Copy method to populate the builder with values from the given instance.ListTableUsageRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListTableUsageRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListTableUsageRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListTableUsageRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListTableUsageRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListTableUsageRequest.Builder
tableNameOrId(String tableNameOrId)
A table name within the compartment, or a table OCID.ListTableUsageRequest.Builder
timeEnd(Date timeEnd)
The end time to use for the request.ListTableUsageRequest.Builder
timeStart(Date timeStart)
The start time to use for the request.-
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 ListTableUsageRequest.Builder tableNameOrId(String tableNameOrId)
A table name within the compartment, or a table OCID.- Parameters:
tableNameOrId
- the value to set- Returns:
- this builder instance
-
compartmentId
public ListTableUsageRequest.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 ListTableUsageRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
timeStart
public ListTableUsageRequest.Builder timeStart(Date timeStart)
The start time to use for the request.If no time range is set for this request, the most recent complete usage record is returned.
- Parameters:
timeStart
- the value to set- Returns:
- this builder instance
-
timeEnd
public ListTableUsageRequest.Builder timeEnd(Date timeEnd)
The end time to use for the request.- Parameters:
timeEnd
- the value to set- Returns:
- this builder instance
-
limit
public ListTableUsageRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListTableUsageRequest.Builder page(String page)
The page token representing the page at which to start retrieving results.This is usually retrieved from a previous list call.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListTableUsageRequest.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 ListTableUsageRequest.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 ListTableUsageRequest.Builder copy(ListTableUsageRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListTableUsageRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListTableUsageRequest build()
Build the instance of ListTableUsageRequest 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<ListTableUsageRequest,Void>
- Returns:
- instance of ListTableUsageRequest
-
buildWithoutInvocationCallback
public ListTableUsageRequest buildWithoutInvocationCallback()
Build the instance of ListTableUsageRequest 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 ListTableUsageRequest
-
-