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 singleListStreams
request.An optional pagination token provided by a previousListStreams
operation.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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.keyspacesstreams.model.KeyspacesStreamsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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
ListStreams
request. Default value is 100. The minimum value is 1 and the maximum value is 1000.- Parameters:
maxResults
- The maximum number of streams to return in a singleListStreams
request. Default value is 100. The minimum value is 1 and the maximum value is 1000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
An optional pagination token provided by a previous
ListStreams
operation. 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 previousListStreams
operation. 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-