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 singleGetStreamrequest.An optional pagination token provided by a previousGetStreamoperation.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default GetStreamRequest.BuildershardFilter(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
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
-
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
GetStreamrequest. Default value is 100. The minimum value is 1 and the maximum value is 100.- Parameters:
maxResults- The maximum number of shard objects to return in a singleGetStreamrequest. 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.
-
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
GetStreamoperation.- 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 theGetStreamoperation.- 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 theGetStreamoperation.ShardFilter.Builderavoiding the need to create one manually viaShardFilter.builder().When the
Consumercompletes,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
GetStreamoperation. 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 previousGetStreamoperation. 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-