Interface ListChannelsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListChannelsResponse.Builder,ListChannelsResponse>,IoTAnalyticsResponse.Builder,SdkBuilder<ListChannelsResponse.Builder,ListChannelsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListChannelsResponse
public static interface ListChannelsResponse.Builder extends IoTAnalyticsResponse.Builder, SdkPojo, CopyableBuilder<ListChannelsResponse.Builder,ListChannelsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListChannelsResponse.BuilderchannelSummaries(Collection<ChannelSummary> channelSummaries)A list ofChannelSummaryobjects.ListChannelsResponse.BuilderchannelSummaries(Consumer<ChannelSummary.Builder>... channelSummaries)A list ofChannelSummaryobjects.ListChannelsResponse.BuilderchannelSummaries(ChannelSummary... channelSummaries)A list ofChannelSummaryobjects.ListChannelsResponse.BuildernextToken(String nextToken)The token to retrieve the next set of results, ornullif there are no more results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iotanalytics.model.IoTAnalyticsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
channelSummaries
ListChannelsResponse.Builder channelSummaries(Collection<ChannelSummary> channelSummaries)
A list of
ChannelSummaryobjects.- Parameters:
channelSummaries- A list ofChannelSummaryobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelSummaries
ListChannelsResponse.Builder channelSummaries(ChannelSummary... channelSummaries)
A list of
ChannelSummaryobjects.- Parameters:
channelSummaries- A list ofChannelSummaryobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelSummaries
ListChannelsResponse.Builder channelSummaries(Consumer<ChannelSummary.Builder>... channelSummaries)
A list of
This is a convenience method that creates an instance of theChannelSummaryobjects.ChannelSummary.Builderavoiding the need to create one manually viaChannelSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#channelSummaries(List.) - Parameters:
channelSummaries- a consumer that will call methods onChannelSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#channelSummaries(java.util.Collection)
-
nextToken
ListChannelsResponse.Builder nextToken(String nextToken)
The token to retrieve the next set of results, or
nullif there are no more results.- Parameters:
nextToken- The token to retrieve the next set of results, ornullif there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-