public static class ListChannelsRequest.Builder extends Object implements BmcRequest.Builder<ListChannelsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListChannelsRequest |
build()
Build the instance of ListChannelsRequest as configured by this builder
|
ListChannelsRequest |
buildWithoutInvocationCallback()
Build the instance of ListChannelsRequest as configured by this builder
|
ListChannelsRequest.Builder |
category(ChannelCategory category)
List only Channels with this category.
|
ListChannelsRequest.Builder |
copy(ListChannelsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListChannelsRequest.Builder |
id(String id)
Unique Channel identifier.
|
ListChannelsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListChannelsRequest.Builder |
lifecycleState(LifecycleState lifecycleState)
List only the resources that are in this lifecycle state.
|
ListChannelsRequest.Builder |
limit(Integer limit)
The maximum number of items to return per page.
|
ListChannelsRequest.Builder |
name(String name)
List only the information for Channels with this name.
|
ListChannelsRequest.Builder |
odaInstanceId(String odaInstanceId)
Unique Digital Assistant instance identifier.
|
ListChannelsRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListChannelsRequest.Builder |
page(String page)
The page at which to start retrieving results.
|
ListChannelsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListChannelsRequest.Builder |
sortBy(ListChannelsRequest.SortBy sortBy)
Sort on this field.
|
ListChannelsRequest.Builder |
sortOrder(ListChannelsRequest.SortOrder sortOrder)
Sort the results in this order, use either
ASC (ascending) or DESC
(descending). |
ListChannelsRequest.Builder |
type(ChannelType type)
List only Channels of this type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListChannelsRequest.Builder odaInstanceId(String odaInstanceId)
Unique Digital Assistant instance identifier.
odaInstanceId
- the value to setpublic ListChannelsRequest.Builder id(String id)
Unique Channel identifier.
id
- the value to setpublic ListChannelsRequest.Builder name(String name)
List only the information for Channels with this name. Channels names are unique and may not change.
Example: MyChannel
name
- the value to setpublic ListChannelsRequest.Builder category(ChannelCategory category)
List only Channels with this category.
category
- the value to setpublic ListChannelsRequest.Builder type(ChannelType type)
List only Channels of this type.
type
- the value to setpublic ListChannelsRequest.Builder lifecycleState(LifecycleState lifecycleState)
List only the resources that are in this lifecycle state.
lifecycleState
- the value to setpublic ListChannelsRequest.Builder limit(Integer limit)
The maximum number of items to return per page.
limit
- the value to setpublic ListChannelsRequest.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==
page
- the value to setpublic ListChannelsRequest.Builder sortOrder(ListChannelsRequest.SortOrder sortOrder)
Sort the results in this order, use either ASC
(ascending) or DESC
(descending).
sortOrder
- the value to setpublic ListChannelsRequest.Builder sortBy(ListChannelsRequest.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
and timeUpdated
is descending,
and the default sort order for name
is ascending.
sortBy
- the value to setpublic ListChannelsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing. This value is included in the opc-request-id response header.
opcRequestId
- the value to setpublic ListChannelsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListChannelsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListChannelsRequest.Builder copy(ListChannelsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListChannelsRequest,Void>
o
- other request from which to copy valuespublic ListChannelsRequest build()
Build the instance of ListChannelsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListChannelsRequest,Void>
public ListChannelsRequest buildWithoutInvocationCallback()
Build the instance of ListChannelsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.