public static interface CreateStreamRequest.Builder extends KinesisRequest.Builder, CopyableBuilder<CreateStreamRequest.Builder,CreateStreamRequest>
Modifier and Type | Method and Description |
---|---|
CreateStreamRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateStreamRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateStreamRequest.Builder |
shardCount(Integer shardCount)
The number of shards that the stream will use.
|
CreateStreamRequest.Builder |
streamName(String streamName)
A name to identify the stream.
|
build
overrideConfiguration
copy
applyMutation, build
CreateStreamRequest.Builder streamName(String streamName)
A name to identify the stream. The stream name is scoped to the AWS account used by the application that creates the stream. It is also scoped by region. That is, two streams in two different AWS accounts can have the same name. Two streams in the same AWS account but in two different regions can also have the same name.
streamName
- A name to identify the stream. The stream name is scoped to the AWS account used by the application
that creates the stream. It is also scoped by region. That is, two streams in two different AWS
accounts can have the same name. Two streams in the same AWS account but in two different regions can
also have the same name.CreateStreamRequest.Builder shardCount(Integer shardCount)
The number of shards that the stream will use. The throughput of the stream is a function of the number of shards; more shards are required for greater provisioned throughput.
DefaultShardLimit;
shardCount
- The number of shards that the stream will use. The throughput of the stream is a function of the
number of shards; more shards are required for greater provisioned throughput.
DefaultShardLimit;
CreateStreamRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateStreamRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.