Class ListChannelsRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.oda.requests.ListChannelsRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListChannelsRequest,Void>
 - Enclosing class:
- ListChannelsRequest
 
 public static class ListChannelsRequest.Builder extends Object implements BmcRequest.Builder<ListChannelsRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListChannelsRequestbuild()Build the instance of ListChannelsRequest as configured by this builderListChannelsRequestbuildWithoutInvocationCallback()Build the instance of ListChannelsRequest as configured by this builderListChannelsRequest.Buildercategory(ChannelCategory category)List only Channels with this category.ListChannelsRequest.Buildercopy(ListChannelsRequest o)Copy method to populate the builder with values from the given instance.ListChannelsRequest.Builderid(String id)Unique Channel identifier.ListChannelsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListChannelsRequest.BuilderlifecycleState(LifecycleState lifecycleState)List only the resources that are in this lifecycle state.ListChannelsRequest.Builderlimit(Integer limit)The maximum number of items to return per page.ListChannelsRequest.Buildername(String name)List only the information for Channels with this name.ListChannelsRequest.BuilderodaInstanceId(String odaInstanceId)Unique Digital Assistant instance identifier.ListChannelsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListChannelsRequest.Builderpage(String page)The page at which to start retrieving results.ListChannelsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListChannelsRequest.BuildersortBy(ListChannelsRequest.SortBy sortBy)Sort on this field.ListChannelsRequest.BuildersortOrder(ListChannelsRequest.SortOrder sortOrder)Sort the results in this order, use either ASC (ascending) or DESC (descending).ListChannelsRequest.Buildertype(ChannelType type)List only Channels of this type.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
odaInstanceIdpublic ListChannelsRequest.Builder odaInstanceId(String odaInstanceId) Unique Digital Assistant instance identifier.- Parameters:
- odaInstanceId- the value to set
- Returns:
- this builder instance
 
 - 
idpublic ListChannelsRequest.Builder id(String id) Unique Channel identifier.- Parameters:
- id- the value to set
- Returns:
- this builder instance
 
 - 
namepublic ListChannelsRequest.Builder name(String name) List only the information for Channels with this name.Channels names are unique and may not change. Example: MyChannel - Parameters:
- name- the value to set
- Returns:
- this builder instance
 
 - 
categorypublic ListChannelsRequest.Builder category(ChannelCategory category) List only Channels with this category.- Parameters:
- category- the value to set
- Returns:
- this builder instance
 
 - 
typepublic ListChannelsRequest.Builder type(ChannelType type) List only Channels of this type.- Parameters:
- type- the value to set
- Returns:
- this builder instance
 
 - 
lifecycleStatepublic ListChannelsRequest.Builder lifecycleState(LifecycleState lifecycleState) List only the resources that are in this lifecycle state.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListChannelsRequest.Builder limit(Integer limit) The maximum number of items to return per page.- Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic 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== - Parameters:
- page- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListChannelsRequest.Builder sortOrder(ListChannelsRequest.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
 
 - 
sortBypublic 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. - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListChannelsRequest.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
 
 - 
invocationCallbackpublic ListChannelsRequest.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
 
 - 
retryConfigurationpublic ListChannelsRequest.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
 
 - 
copypublic ListChannelsRequest.Builder copy(ListChannelsRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListChannelsRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListChannelsRequest build() Build the instance of ListChannelsRequest 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 interface- BmcRequest.Builder<ListChannelsRequest,Void>
- Returns:
- instance of ListChannelsRequest
 
 - 
buildWithoutInvocationCallbackpublic ListChannelsRequest buildWithoutInvocationCallback() Build the instance of ListChannelsRequest 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 ListChannelsRequest
 
 
- 
 
-