CopyableBuilder<CreateStreamRequest.Builder,CreateStreamRequest>
, SdkBuilder<CreateStreamRequest.Builder,CreateStreamRequest>
public static interface CreateStreamRequest.Builder extends CopyableBuilder<CreateStreamRequest.Builder,CreateStreamRequest>
Modifier and Type | Method | Description |
---|---|---|
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.
|
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, and two streams in the same AWS account but in two different regions can 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, and two streams in the same AWS account but in two different regions
can 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;
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.