@Stability(value=Stable) public static final class CfnStreamProps.Builder extends Object implements software.amazon.jsii.Builder<CfnStreamProps>
CfnStreamProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnStreamProps |
build()
Builds the configured instance.
|
CfnStreamProps.Builder |
name(String name)
Sets the value of
CfnStreamProps.getName() |
CfnStreamProps.Builder |
retentionPeriodHours(Number retentionPeriodHours)
Sets the value of
CfnStreamProps.getRetentionPeriodHours() |
CfnStreamProps.Builder |
shardCount(Number shardCount)
Sets the value of
CfnStreamProps.getShardCount() |
CfnStreamProps.Builder |
streamEncryption(CfnStream.StreamEncryptionProperty streamEncryption)
Sets the value of
CfnStreamProps.getStreamEncryption() |
CfnStreamProps.Builder |
streamEncryption(IResolvable streamEncryption)
Sets the value of
CfnStreamProps.getStreamEncryption() |
CfnStreamProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnStreamProps.getTags() |
@Stability(value=Stable) public CfnStreamProps.Builder shardCount(Number shardCount)
CfnStreamProps.getShardCount()shardCount - `AWS::Kinesis::Stream.ShardCount`. This parameter is required.this@Stability(value=Stable) public CfnStreamProps.Builder name(String name)
CfnStreamProps.getName()name - `AWS::Kinesis::Stream.Name`.this@Stability(value=Stable) public CfnStreamProps.Builder retentionPeriodHours(Number retentionPeriodHours)
CfnStreamProps.getRetentionPeriodHours()retentionPeriodHours - `AWS::Kinesis::Stream.RetentionPeriodHours`.this@Stability(value=Stable) public CfnStreamProps.Builder streamEncryption(CfnStream.StreamEncryptionProperty streamEncryption)
CfnStreamProps.getStreamEncryption()streamEncryption - `AWS::Kinesis::Stream.StreamEncryption`.this@Stability(value=Stable) public CfnStreamProps.Builder streamEncryption(IResolvable streamEncryption)
CfnStreamProps.getStreamEncryption()streamEncryption - `AWS::Kinesis::Stream.StreamEncryption`.this@Stability(value=Stable) public CfnStreamProps.Builder tags(List<? extends CfnTag> tags)
CfnStreamProps.getTags()tags - `AWS::Kinesis::Stream.Tags`.this@Stability(value=Stable) public CfnStreamProps build()
build in interface software.amazon.jsii.Builder<CfnStreamProps>CfnStreamPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.