Interface ListStreamsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListStreamsRequest.Builder,,ListStreamsRequest> KeyspacesStreamsRequest.Builder,SdkBuilder<ListStreamsRequest.Builder,,ListStreamsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListStreamsRequest
@Mutable
@NotThreadSafe
public static interface ListStreamsRequest.Builder
extends KeyspacesStreamsRequest.Builder, SdkPojo, CopyableBuilder<ListStreamsRequest.Builder,ListStreamsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionkeyspaceName(String keyspaceName) The name of the keyspace for which to list streams.maxResults(Integer maxResults) The maximum number of streams to return in a singleListStreamsrequest.An optional pagination token provided by a previousListStreamsoperation.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the table for which to list 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.keyspacesstreams.model.KeyspacesStreamsRequest.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
-
keyspaceName
The name of the keyspace for which to list streams. If specified, only streams associated with tables in this keyspace are returned. If omitted, streams from all keyspaces are included in the results.
- Parameters:
keyspaceName- The name of the keyspace for which to list streams. If specified, only streams associated with tables in this keyspace are returned. If omitted, streams from all keyspaces are included in the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The name of the table for which to list streams. Must be used together with
keyspaceName. If specified, only streams associated with this specific table are returned.- Parameters:
tableName- The name of the table for which to list streams. Must be used together withkeyspaceName. If specified, only streams associated with this specific table are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of streams to return in a single
ListStreamsrequest. Default value is 100. The minimum value is 1 and the maximum value is 100.- Parameters:
maxResults- The maximum number of streams to return in a singleListStreamsrequest. Default value is 100. The minimum value is 1 and the maximum value is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
An optional pagination token provided by a previous
ListStreamsoperation. If this parameter is specified, the response includes only records beyond the token, up to the value specified bymaxResults.- Parameters:
nextToken- An optional pagination token provided by a previousListStreamsoperation. If this parameter is specified, the response includes only records beyond the token, up to the value specified bymaxResults.- 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.
-