public static interface CreateStreamRequest.Builder extends KinesisRequest.Builder, CopyableBuilder<CreateStreamRequest.Builder,CreateStreamRequest>
Modifier and Type | Method and Description |
---|---|
CreateStreamRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateStreamRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.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
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateStreamRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.