Package com.oracle.bmc.oda.requests
Class ListOdaInstanceAttachmentsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.requests.ListOdaInstanceAttachmentsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListOdaInstanceAttachmentsRequest,Void>
- Enclosing class:
- ListOdaInstanceAttachmentsRequest
public static class ListOdaInstanceAttachmentsRequest.Builder extends Object implements BmcRequest.Builder<ListOdaInstanceAttachmentsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListOdaInstanceAttachmentsRequest
build()
Build the instance of ListOdaInstanceAttachmentsRequest as configured by this builderListOdaInstanceAttachmentsRequest
buildWithoutInvocationCallback()
Build the instance of ListOdaInstanceAttachmentsRequest as configured by this builderListOdaInstanceAttachmentsRequest.Builder
copy(ListOdaInstanceAttachmentsRequest o)
Copy method to populate the builder with values from the given instance.ListOdaInstanceAttachmentsRequest.Builder
includeOwnerMetadata(Boolean includeOwnerMetadata)
Whether to send attachment owner info during get/list call.ListOdaInstanceAttachmentsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListOdaInstanceAttachmentsRequest.Builder
lifecycleState(ListOdaInstanceAttachmentsRequest.LifecycleState lifecycleState)
List only the ODA instance attachments that are in this lifecycle state.ListOdaInstanceAttachmentsRequest.Builder
limit(Integer limit)
The maximum number of items to return per page.ListOdaInstanceAttachmentsRequest.Builder
odaInstanceId(String odaInstanceId)
Unique Digital Assistant instance identifier.ListOdaInstanceAttachmentsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListOdaInstanceAttachmentsRequest.Builder
page(String page)
The page at which to start retrieving results.ListOdaInstanceAttachmentsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListOdaInstanceAttachmentsRequest.Builder
sortBy(ListOdaInstanceAttachmentsRequest.SortBy sortBy)
Sort on this field.ListOdaInstanceAttachmentsRequest.Builder
sortOrder(ListOdaInstanceAttachmentsRequest.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
-
odaInstanceId
public ListOdaInstanceAttachmentsRequest.Builder odaInstanceId(String odaInstanceId)
Unique Digital Assistant instance identifier.- Parameters:
odaInstanceId
- the value to set- Returns:
- this builder instance
-
includeOwnerMetadata
public ListOdaInstanceAttachmentsRequest.Builder includeOwnerMetadata(Boolean includeOwnerMetadata)
Whether to send attachment owner info during get/list call.- Parameters:
includeOwnerMetadata
- the value to set- Returns:
- this builder instance
-
limit
public ListOdaInstanceAttachmentsRequest.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 ListOdaInstanceAttachmentsRequest.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
-
lifecycleState
public ListOdaInstanceAttachmentsRequest.Builder lifecycleState(ListOdaInstanceAttachmentsRequest.LifecycleState lifecycleState)
List only the ODA instance attachments that are in this lifecycle state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListOdaInstanceAttachmentsRequest.Builder sortOrder(ListOdaInstanceAttachmentsRequest.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 ListOdaInstanceAttachmentsRequest.Builder sortBy(ListOdaInstanceAttachmentsRequest.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.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListOdaInstanceAttachmentsRequest.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 ListOdaInstanceAttachmentsRequest.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 ListOdaInstanceAttachmentsRequest.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 ListOdaInstanceAttachmentsRequest.Builder copy(ListOdaInstanceAttachmentsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListOdaInstanceAttachmentsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListOdaInstanceAttachmentsRequest build()
Build the instance of ListOdaInstanceAttachmentsRequest 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<ListOdaInstanceAttachmentsRequest,Void>
- Returns:
- instance of ListOdaInstanceAttachmentsRequest
-
buildWithoutInvocationCallback
public ListOdaInstanceAttachmentsRequest buildWithoutInvocationCallback()
Build the instance of ListOdaInstanceAttachmentsRequest 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 ListOdaInstanceAttachmentsRequest
-
-