Interface ListStreamsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListStreamsRequest.Builder,,ListStreamsRequest> DsqlRequest.Builder,SdkBuilder<ListStreamsRequest.Builder,,ListStreamsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListStreamsRequest
@Mutable
@NotThreadSafe
public static interface ListStreamsRequest.Builder
extends DsqlRequest.Builder, SdkPojo, CopyableBuilder<ListStreamsRequest.Builder,ListStreamsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionclusterIdentifier(String clusterIdentifier) The ID of the cluster for which to list streams.maxResults(Integer maxResults) An optional parameter that specifies the maximum number of results to return.If your initial ListStreams operation returns a nextToken, you can include the returned nextToken in following ListStreams operations, which returns results in the next page.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.dsql.model.DsqlRequest.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
-
clusterIdentifier
The ID of the cluster for which to list streams.
- Parameters:
clusterIdentifier- The ID of the cluster for which to list streams.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results. Default: 10.
- Parameters:
maxResults- An optional parameter that specifies the maximum number of results to return. You can use nextToken to display the next page of results. Default: 10.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If your initial ListStreams operation returns a nextToken, you can include the returned nextToken in following ListStreams operations, which returns results in the next page.
- Parameters:
nextToken- If your initial ListStreams operation returns a nextToken, you can include the returned nextToken in following ListStreams operations, which returns results in the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListStreamsRequest.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
ListStreamsRequest.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.
-