Class ListChannelsRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.mysql.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.BuilderchannelId(String channelId)The OCID of the Channel.ListChannelsRequest.BuildercompartmentId(String compartmentId)The compartment OCID.ListChannelsRequest.Buildercopy(ListChannelsRequest o)Copy method to populate the builder with values from the given instance.ListChannelsRequest.BuilderdbSystemId(String dbSystemId)The DB System OCID.ListChannelsRequest.BuilderdisplayName(String displayName)A filter to return only the resource matching the given display name exactly.ListChannelsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListChannelsRequest.BuilderisEnabled(Boolean isEnabled)If true, returns only Channels that are enabled.ListChannelsRequest.BuilderlifecycleState(Channel.LifecycleState lifecycleState)The LifecycleState of the Channel.ListChannelsRequest.Builderlimit(Integer limit)The maximum number of items to return in a paginated list call.ListChannelsRequest.BuilderopcRequestId(String opcRequestId)Customer-defined unique identifier for the request.ListChannelsRequest.Builderpage(String page)The value of the opc-next-page or opc-prev-page response header from the previous list call.ListChannelsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListChannelsRequest.BuildersortBy(ListChannelsRequest.SortBy sortBy)The field to sort by.ListChannelsRequest.BuildersortOrder(ListChannelsRequest.SortOrder sortOrder)The sort order to use (ASC or DESC).- 
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- 
compartmentIdpublic ListChannelsRequest.Builder compartmentId(String compartmentId) The compartment OCID.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListChannelsRequest.Builder opcRequestId(String opcRequestId) Customer-defined unique identifier for the request.If you need to contact Oracle about a specific request, please provide the request ID that you supplied in this header with the request. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
dbSystemIdpublic ListChannelsRequest.Builder dbSystemId(String dbSystemId) The DB System OCID.- Parameters:
- dbSystemId- the value to set
- Returns:
- this builder instance
 
 - 
channelIdpublic ListChannelsRequest.Builder channelId(String channelId) The OCID of the Channel.- Parameters:
- channelId- the value to set
- Returns:
- this builder instance
 
 - 
displayNamepublic ListChannelsRequest.Builder displayName(String displayName) A filter to return only the resource matching the given display name exactly.- Parameters:
- displayName- the value to set
- Returns:
- this builder instance
 
 - 
lifecycleStatepublic ListChannelsRequest.Builder lifecycleState(Channel.LifecycleState lifecycleState) The LifecycleState of the Channel.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder instance
 
 - 
isEnabledpublic ListChannelsRequest.Builder isEnabled(Boolean isEnabled) If true, returns only Channels that are enabled.If false, returns only Channels that are disabled. - Parameters:
- isEnabled- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListChannelsRequest.Builder sortBy(ListChannelsRequest.SortBy sortBy) The field to sort by.Only one sort order may be provided. Time fields are default ordered as descending. Display name is default ordered as ascending. - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListChannelsRequest.Builder sortOrder(ListChannelsRequest.SortOrder sortOrder) The sort order to use (ASC or DESC).- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListChannelsRequest.Builder limit(Integer limit) The maximum number of items to return in a paginated list call.For information about pagination, see List Pagination. - Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic ListChannelsRequest.Builder page(String page) The value of the opc-next-page or opc-prev-page response header from the previous list call.For information about pagination, see List Pagination. - Parameters:
- page- 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
 
 
- 
 
-