Package com.oracle.bmc.dataflow.requests
Class ListStatementsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dataflow.requests.ListStatementsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListStatementsRequest,Void>
- Enclosing class:
- ListStatementsRequest
public static class ListStatementsRequest.Builder extends Object implements BmcRequest.Builder<ListStatementsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListStatementsRequest
build()
Build the instance of ListStatementsRequest as configured by this builderListStatementsRequest
buildWithoutInvocationCallback()
Build the instance of ListStatementsRequest as configured by this builderListStatementsRequest.Builder
copy(ListStatementsRequest o)
Copy method to populate the builder with values from the given instance.ListStatementsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListStatementsRequest.Builder
lifecycleState(StatementLifecycleState lifecycleState)
The LifecycleState of the statement.ListStatementsRequest.Builder
limit(Integer limit)
The maximum number of results to return in a paginated List call.ListStatementsRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.ListStatementsRequest.Builder
page(String page)
The value of the opc-next-page or opc-prev-page response header from the last List call to sent back to server for getting the next page of results.ListStatementsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListStatementsRequest.Builder
runId(String runId)
The unique ID for the runListStatementsRequest.Builder
sortBy(ListStatementsRequest.SortBy sortBy)
The field used to sort the results.ListStatementsRequest.Builder
sortOrder(ListStatementsRequest.SortOrder sortOrder)
The ordering of results in ascending or descending order.-
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
-
runId
public ListStatementsRequest.Builder runId(String runId)
The unique ID for the run- Parameters:
runId
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListStatementsRequest.Builder lifecycleState(StatementLifecycleState lifecycleState)
The LifecycleState of the statement.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
sortBy
public ListStatementsRequest.Builder sortBy(ListStatementsRequest.SortBy sortBy)
The field used to sort the results.Multiple fields are not supported.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListStatementsRequest.Builder sortOrder(ListStatementsRequest.SortOrder sortOrder)
The ordering of results in ascending or descending order.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
limit
public ListStatementsRequest.Builder limit(Integer limit)
The maximum number of results to return in a paginated List call.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListStatementsRequest.Builder page(String page)
The value of the opc-next-page or opc-prev-page response header from the last List call to sent back to server for getting the next page of results.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListStatementsRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.If provided, the returned request ID will include this value. Otherwise, a random request ID will be generated by the service.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListStatementsRequest.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 ListStatementsRequest.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 ListStatementsRequest.Builder copy(ListStatementsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListStatementsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListStatementsRequest build()
Build the instance of ListStatementsRequest 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<ListStatementsRequest,Void>
- Returns:
- instance of ListStatementsRequest
-
buildWithoutInvocationCallback
public ListStatementsRequest buildWithoutInvocationCallback()
Build the instance of ListStatementsRequest 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 ListStatementsRequest
-
-