Class ListSandboxCommandRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaisandbox.requests.ListSandboxCommandRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListSandboxCommandRequest,Void>
- Enclosing class:
- ListSandboxCommandRequest
public static class ListSandboxCommandRequest.Builder extends Object implements BmcRequest.Builder<ListSandboxCommandRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSandboxCommandRequestbuild()Build the instance of ListSandboxCommandRequest as configured by this builderListSandboxCommandRequestbuildWithoutInvocationCallback()Build the instance of ListSandboxCommandRequest as configured by this builderListSandboxCommandRequest.BuildercommandId(String commandId)Sandbox command identifier used to filter listed command resources.ListSandboxCommandRequest.Buildercopy(ListSandboxCommandRequest o)Copy method to populate the builder with values from the given instance.ListSandboxCommandRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListSandboxCommandRequest.Builderlimit(Integer limit)The maximum number of items to return.ListSandboxCommandRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListSandboxCommandRequest.Builderpage(String page)A token representing the position at which to start retrieving results.ListSandboxCommandRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListSandboxCommandRequest.BuildersandboxId(String sandboxId)Sandbox identifier.ListSandboxCommandRequest.BuildersortBy(ListSandboxCommandRequest.SortBy sortBy)The field to sort by.ListSandboxCommandRequest.BuildersortOrder(SortOrder sortOrder)The sort order to use, either ascending (ASC) or descending (DESC).-
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
-
sandboxId
public ListSandboxCommandRequest.Builder sandboxId(String sandboxId)
Sandbox identifier.Newly generated Sandbox IDs use sbx- followed by 16 lowercase base32 characters (a-z2-7); existing legacy IDs remain accepted.
- Parameters:
sandboxId- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListSandboxCommandRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
commandId
public ListSandboxCommandRequest.Builder commandId(String commandId)
Sandbox command identifier used to filter listed command resources.- Parameters:
commandId- the value to set- Returns:
- this builder instance
-
sortBy
public ListSandboxCommandRequest.Builder sortBy(ListSandboxCommandRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Default order for timeCreated is ascending.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
sortOrder
public ListSandboxCommandRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
limit
public ListSandboxCommandRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListSandboxCommandRequest.Builder page(String page)
A token representing the position at which to start retrieving results.- Parameters:
page- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListSandboxCommandRequest.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 ListSandboxCommandRequest.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 ListSandboxCommandRequest.Builder copy(ListSandboxCommandRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListSandboxCommandRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListSandboxCommandRequest build()
Build the instance of ListSandboxCommandRequest 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<ListSandboxCommandRequest,Void>- Returns:
- instance of ListSandboxCommandRequest
-
buildWithoutInvocationCallback
public ListSandboxCommandRequest buildWithoutInvocationCallback()
Build the instance of ListSandboxCommandRequest 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 ListSandboxCommandRequest
-
-