public static interface ListChannelsResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<ListChannelsResponse.Builder,ListChannelsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListChannelsResponse.Builder |
channels(Channel... channels)
The list of channels in the account.
|
ListChannelsResponse.Builder |
channels(Collection<Channel> channels)
The list of channels in the account.
|
ListChannelsResponse.Builder |
channels(Consumer<Channel.Builder>... channels)
The list of channels in the account.
|
ListChannelsResponse.Builder |
nextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListChannelsResponse.Builder channels(Collection<Channel> channels)
The list of channels in the account.
channels - The list of channels in the account.ListChannelsResponse.Builder channels(Channel... channels)
The list of channels in the account.
channels - The list of channels in the account.ListChannelsResponse.Builder channels(Consumer<Channel.Builder>... channels)
The list of channels in the account.
This is a convenience method that creates an instance of theChannel.Builder avoiding the need to create one
manually via Channel.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #channels(List.
channels - a consumer that will call methods on
Channel.Builder#channels(java.util.Collection) ListChannelsResponse.Builder nextToken(String nextToken)
The token to use to get the next page of results after a previous API call.
nextToken - The token to use to get the next page of results after a previous API call.Copyright © 2023. All rights reserved.