public static interface SubscribeToShardRequest.Builder extends KinesisRequest.Builder, SdkPojo, CopyableBuilder<SubscribeToShardRequest.Builder,SubscribeToShardRequest>
| Modifier and Type | Method and Description |
|---|---|
SubscribeToShardRequest.Builder |
consumerARN(String consumerARN)
For this parameter, use the value you obtained when you called RegisterStreamConsumer.
|
SubscribeToShardRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
SubscribeToShardRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
SubscribeToShardRequest.Builder |
shardId(String shardId)
The ID of the shard you want to subscribe to.
|
default SubscribeToShardRequest.Builder |
startingPosition(Consumer<StartingPosition.Builder> startingPosition)
Sets the value of the StartingPosition property for this object.
|
SubscribeToShardRequest.Builder |
startingPosition(StartingPosition startingPosition)
Sets the value of the StartingPosition property for this object.
|
buildoverrideConfigurationcopyapplyMutation, buildSubscribeToShardRequest.Builder consumerARN(String consumerARN)
For this parameter, use the value you obtained when you called RegisterStreamConsumer.
consumerARN - For this parameter, use the value you obtained when you called RegisterStreamConsumer.SubscribeToShardRequest.Builder shardId(String shardId)
The ID of the shard you want to subscribe to. To see a list of all the shards for a given stream, use ListShards.
shardId - The ID of the shard you want to subscribe to. To see a list of all the shards for a given stream, use
ListShards.SubscribeToShardRequest.Builder startingPosition(StartingPosition startingPosition)
startingPosition - The new value for the StartingPosition property for this object.default SubscribeToShardRequest.Builder startingPosition(Consumer<StartingPosition.Builder> startingPosition)
StartingPosition.Builder avoiding the need to
create one manually via StartingPosition.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to startingPosition(StartingPosition).startingPosition - a consumer that will call methods on StartingPosition.BuilderstartingPosition(StartingPosition)SubscribeToShardRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.SubscribeToShardRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.