Interface ListQueuesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListQueuesRequest.Builder,,ListQueuesRequest> KinesisRequest.Builder,SdkBuilder<ListQueuesRequest.Builder,,ListQueuesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListQueuesRequest
@Mutable
@NotThreadSafe
public static interface ListQueuesRequest.Builder
extends KinesisRequest.Builder, SdkPojo, CopyableBuilder<ListQueuesRequest.Builder,ListQueuesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of queue summaries to return in one response.TheNextTokenreturned by a previousListQueuesrequest.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.streamFilter(Collection<QueueStreamFilter> streamFilter) Lists only the queues created on the specified data stream.streamFilter(Consumer<QueueStreamFilter.Builder>... streamFilter) Lists only the queues created on the specified data stream.streamFilter(QueueStreamFilter... streamFilter) Lists only the queues created on the specified data stream.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
-
maxResults
The maximum number of queue summaries to return in one response. The response might contain fewer summaries than this value, and might contain a
NextTokeneven when it contains fewer.- Parameters:
maxResults- The maximum number of queue summaries to return in one response. The response might contain fewer summaries than this value, and might contain aNextTokeneven when it contains fewer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The
NextTokenreturned by a previousListQueuesrequest. Use it to retrieve the next page of queue summaries.- Parameters:
nextToken- TheNextTokenreturned by a previousListQueuesrequest. Use it to retrieve the next page of queue summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamFilter
Lists only the queues created on the specified data stream.
- Parameters:
streamFilter- Lists only the queues created on the specified data stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamFilter
Lists only the queues created on the specified data stream.
- Parameters:
streamFilter- Lists only the queues created on the specified data stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamFilter
Lists only the queues created on the specified data stream.
This is a convenience method that creates an instance of theQueueStreamFilter.Builderavoiding the need to create one manually viaQueueStreamFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreamFilter(List<QueueStreamFilter>).- Parameters:
streamFilter- a consumer that will call methods onQueueStreamFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListQueuesRequest.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
ListQueuesRequest.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.
-