Interface GetStreamRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetStreamRequest.Builder,
,GetStreamRequest> KeyspacesStreamsRequest.Builder
,SdkBuilder<GetStreamRequest.Builder,
,GetStreamRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetStreamRequest
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults
(Integer maxResults) The maximum number of shard objects to return in a singleGetStream
request.An optional pagination token provided by a previousGetStream
operation.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default GetStreamRequest.Builder
shardFilter
(Consumer<ShardFilter.Builder> shardFilter) Optional filter criteria to apply when retrieving shards.shardFilter
(ShardFilter shardFilter) Optional filter criteria to apply when retrieving shards.The Amazon Resource Name (ARN) of the stream for which detailed information is requested.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
-
streamArn
The Amazon Resource Name (ARN) of the stream for which detailed information is requested. This uniquely identifies the specific stream you want to get information about.
- Parameters:
streamArn
- The Amazon Resource Name (ARN) of the stream for which detailed information is requested. This uniquely identifies the specific stream you want to get information about.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of shard objects to return in a single
GetStream
request. Default value is 100. The minimum value is 1 and the maximum value is 1000.- Parameters:
maxResults
- The maximum number of shard objects to return in a singleGetStream
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.
-
shardFilter
Optional filter criteria to apply when retrieving shards. You can filter shards based on their state or other attributes to narrow down the results returned by the
GetStream
operation.- Parameters:
shardFilter
- Optional filter criteria to apply when retrieving shards. You can filter shards based on their state or other attributes to narrow down the results returned by theGetStream
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shardFilter
Optional filter criteria to apply when retrieving shards. You can filter shards based on their state or other attributes to narrow down the results returned by the
This is a convenience method that creates an instance of theGetStream
operation.ShardFilter.Builder
avoiding the need to create one manually viaShardFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toshardFilter(ShardFilter)
.- Parameters:
shardFilter
- a consumer that will call methods onShardFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
An optional pagination token provided by a previous
GetStream
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 previousGetStream
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
GetStreamRequest.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
GetStreamRequest.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.
-