Class ListOdaInstancesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.requests.ListOdaInstancesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListOdaInstancesRequest,Void>
- Enclosing class:
- ListOdaInstancesRequest
public static class ListOdaInstancesRequest.Builder extends Object implements BmcRequest.Builder<ListOdaInstancesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListOdaInstancesRequest
build()
Build the instance of ListOdaInstancesRequest as configured by this builderListOdaInstancesRequest
buildWithoutInvocationCallback()
Build the instance of ListOdaInstancesRequest as configured by this builderListOdaInstancesRequest.Builder
compartmentId(String compartmentId)
List the Digital Assistant instances that belong to this compartment.ListOdaInstancesRequest.Builder
copy(ListOdaInstancesRequest o)
Copy method to populate the builder with values from the given instance.ListOdaInstancesRequest.Builder
displayName(String displayName)
List only the information for the Digital Assistant instance with this user-friendly name.ListOdaInstancesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListOdaInstancesRequest.Builder
lifecycleState(ListOdaInstancesRequest.LifecycleState lifecycleState)
List only the Digital Assistant instances that are in this lifecycle state.ListOdaInstancesRequest.Builder
limit(Integer limit)
The maximum number of items to return per page.ListOdaInstancesRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListOdaInstancesRequest.Builder
page(String page)
The page at which to start retrieving results.ListOdaInstancesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListOdaInstancesRequest.Builder
sortBy(ListOdaInstancesRequest.SortBy sortBy)
Sort on this field.ListOdaInstancesRequest.Builder
sortOrder(ListOdaInstancesRequest.SortOrder sortOrder)
Sort the results in this order, use either ASC (ascending) or DESC (descending).-
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
-
compartmentId
public ListOdaInstancesRequest.Builder compartmentId(String compartmentId)
List the Digital Assistant instances that belong to this compartment.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
displayName
public ListOdaInstancesRequest.Builder displayName(String displayName)
List only the information for the Digital Assistant instance with this user-friendly name.These names don’t have to be unique and may change.
Example: My new resource
- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListOdaInstancesRequest.Builder lifecycleState(ListOdaInstancesRequest.LifecycleState lifecycleState)
List only the Digital Assistant instances that are in this lifecycle state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
limit
public ListOdaInstancesRequest.Builder limit(Integer limit)
The maximum number of items to return per page.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListOdaInstancesRequest.Builder page(String page)
The page at which to start retrieving results.You get this value from the opc-next-page header in a previous list request. To retireve the first page, omit this query parameter.
Example: MToxMA==
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListOdaInstancesRequest.Builder sortOrder(ListOdaInstancesRequest.SortOrder sortOrder)
Sort the results in this order, use either ASC (ascending) or DESC (descending).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListOdaInstancesRequest.Builder sortBy(ListOdaInstancesRequest.SortBy sortBy)
Sort on this field.You can specify one sort order only. The default sort field is TIMECREATED.
The default sort order for TIMECREATED is descending, and the default sort order for DISPLAYNAME is ascending.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListOdaInstancesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.This value is included in the opc-request-id response header.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListOdaInstancesRequest.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 ListOdaInstancesRequest.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 ListOdaInstancesRequest.Builder copy(ListOdaInstancesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListOdaInstancesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListOdaInstancesRequest build()
Build the instance of ListOdaInstancesRequest 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<ListOdaInstancesRequest,Void>
- Returns:
- instance of ListOdaInstancesRequest
-
buildWithoutInvocationCallback
public ListOdaInstancesRequest buildWithoutInvocationCallback()
Build the instance of ListOdaInstancesRequest 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 ListOdaInstancesRequest
-
-