public static interface CreateStreamRequest.Builder extends KinesisRequest.Builder, SdkPojo, CopyableBuilder<CreateStreamRequest.Builder,CreateStreamRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateStreamRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateStreamRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateStreamRequest.Builder |
shardCount(Integer shardCount)
The number of shards that the stream will use.
|
default CreateStreamRequest.Builder |
streamModeDetails(Consumer<StreamModeDetails.Builder> streamModeDetails)
Indicates the capacity mode of the data stream.
|
CreateStreamRequest.Builder |
streamModeDetails(StreamModeDetails streamModeDetails)
Indicates the capacity mode of the data stream.
|
CreateStreamRequest.Builder |
streamName(String streamName)
A name to identify the stream.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateStreamRequest.Builder streamName(String streamName)
A name to identify the stream. The stream name is scoped to the Amazon Web Services account used by the application that creates the stream. It is also scoped by Amazon Web Services Region. That is, two streams in two different Amazon Web Services accounts can have the same name. Two streams in the same Amazon Web Services 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 Amazon Web Services account used by
the application that creates the stream. It is also scoped by Amazon Web Services Region. That is, two
streams in two different Amazon Web Services accounts can have the same name. Two streams in the same
Amazon Web Services 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.
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.CreateStreamRequest.Builder streamModeDetails(StreamModeDetails streamModeDetails)
Indicates the capacity mode of the data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
streamModeDetails - Indicates the capacity mode of the data stream. Currently, in Kinesis Data Streams, you can choose
between an on-demand capacity mode and a provisioned capacity mode for your data
streams.default CreateStreamRequest.Builder streamModeDetails(Consumer<StreamModeDetails.Builder> streamModeDetails)
Indicates the capacity mode of the data stream. Currently, in Kinesis Data Streams, you can choose between an on-demand capacity mode and a provisioned capacity mode for your data streams.
This is a convenience method that creates an instance of theStreamModeDetails.Builder avoiding the
need to create one manually via StreamModeDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to streamModeDetails(StreamModeDetails).
streamModeDetails - a consumer that will call methods on StreamModeDetails.BuilderstreamModeDetails(StreamModeDetails)CreateStreamRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateStreamRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.