Interface ListChannelsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListChannelsRequest.Builder,,ListChannelsRequest> KinesisRequest.Builder,SdkBuilder<ListChannelsRequest.Builder,,ListChannelsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListChannelsRequest
@Mutable
@NotThreadSafe
public static interface ListChannelsRequest.Builder
extends KinesisRequest.Builder, SdkPojo, CopyableBuilder<ListChannelsRequest.Builder,ListChannelsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of channels to return in a single call.The pagination token returned by a previous call.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.streamFilter(Collection<StreamFilter> streamFilter) Filters the results to channels associated with the specified streams.streamFilter(Consumer<StreamFilter.Builder>... streamFilter) Filters the results to channels associated with the specified streams.streamFilter(StreamFilter... streamFilter) Filters the results to channels associated with the specified streams.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kinesis.model.KinesisRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
streamFilter
Filters the results to channels associated with the specified streams.
- Parameters:
streamFilter- Filters the results to channels associated with the specified streams.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamFilter
Filters the results to channels associated with the specified streams.
- Parameters:
streamFilter- Filters the results to channels associated with the specified streams.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamFilter
Filters the results to channels associated with the specified streams.
This is a convenience method that creates an instance of theStreamFilter.Builderavoiding the need to create one manually viaStreamFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreamFilter(List<StreamFilter>).- Parameters:
streamFilter- a consumer that will call methods onStreamFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of channels to return in a single call. The default value is 100. If you specify a value greater than 100, at most 100 results are returned.
- Parameters:
maxResults- The maximum number of channels to return in a single call. The default value is 100. If you specify a value greater than 100, at most 100 results are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The pagination token returned by a previous call. Specify this token to retrieve the next page of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The pagination token returned by a previous call. Specify this token to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListChannelsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListChannelsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-