public static interface AwsKinesisStreamDetails.Builder extends SdkPojo, CopyableBuilder<AwsKinesisStreamDetails.Builder,AwsKinesisStreamDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsKinesisStreamDetails.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the Kinesis data stream.
|
AwsKinesisStreamDetails.Builder |
name(String name)
The name of the Kinesis stream.
|
AwsKinesisStreamDetails.Builder |
retentionPeriodHours(Integer retentionPeriodHours)
The number of hours for the data records that are stored in shards to remain accessible.
|
AwsKinesisStreamDetails.Builder |
shardCount(Integer shardCount)
The number of shards that the stream uses.
|
AwsKinesisStreamDetails.Builder |
streamEncryption(AwsKinesisStreamStreamEncryptionDetails streamEncryption)
When specified, enables or updates server-side encryption using an KMS key for a specified stream.
|
default AwsKinesisStreamDetails.Builder |
streamEncryption(Consumer<AwsKinesisStreamStreamEncryptionDetails.Builder> streamEncryption)
When specified, enables or updates server-side encryption using an KMS key for a specified stream.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsKinesisStreamDetails.Builder name(String name)
The name of the Kinesis stream. If you don't specify a name, CloudFront generates a unique physical ID and uses that ID for the stream name.
name - The name of the Kinesis stream. If you don't specify a name, CloudFront generates a unique physical ID
and uses that ID for the stream name.AwsKinesisStreamDetails.Builder arn(String arn)
The Amazon Resource Name (ARN) of the Kinesis data stream.
arn - The Amazon Resource Name (ARN) of the Kinesis data stream.AwsKinesisStreamDetails.Builder streamEncryption(AwsKinesisStreamStreamEncryptionDetails streamEncryption)
When specified, enables or updates server-side encryption using an KMS key for a specified stream. Removing this property from your stack template and updating your stack disables encryption.
streamEncryption - When specified, enables or updates server-side encryption using an KMS key for a specified stream.
Removing this property from your stack template and updating your stack disables encryption.default AwsKinesisStreamDetails.Builder streamEncryption(Consumer<AwsKinesisStreamStreamEncryptionDetails.Builder> streamEncryption)
When specified, enables or updates server-side encryption using an KMS key for a specified stream. Removing this property from your stack template and updating your stack disables encryption.
This is a convenience method that creates an instance of theAwsKinesisStreamStreamEncryptionDetails.Builder avoiding the need to create one manually via
AwsKinesisStreamStreamEncryptionDetails.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to
streamEncryption(AwsKinesisStreamStreamEncryptionDetails).
streamEncryption - a consumer that will call methods on AwsKinesisStreamStreamEncryptionDetails.BuilderstreamEncryption(AwsKinesisStreamStreamEncryptionDetails)AwsKinesisStreamDetails.Builder shardCount(Integer shardCount)
The number of shards that the stream uses.
shardCount - The number of shards that the stream uses.AwsKinesisStreamDetails.Builder retentionPeriodHours(Integer retentionPeriodHours)
The number of hours for the data records that are stored in shards to remain accessible.
retentionPeriodHours - The number of hours for the data records that are stored in shards to remain accessible.Copyright © 2023. All rights reserved.