@Stability(value=Experimental) public static final class StreamAttributes.Builder extends Object implements software.amazon.jsii.Builder<StreamAttributes>
StreamAttributes| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
StreamAttributes |
build()
Builds the configured instance.
|
StreamAttributes.Builder |
encryptionKey(IKey encryptionKey)
Sets the value of
StreamAttributes.getEncryptionKey() |
StreamAttributes.Builder |
streamArn(String streamArn)
Sets the value of
StreamAttributes.getStreamArn() |
@Stability(value=Experimental) public StreamAttributes.Builder streamArn(String streamArn)
StreamAttributes.getStreamArn()streamArn - The ARN of the stream. This parameter is required.this@Stability(value=Experimental) public StreamAttributes.Builder encryptionKey(IKey encryptionKey)
StreamAttributes.getEncryptionKey()encryptionKey - The KMS key securing the contents of the stream if encryption is enabled.this@Stability(value=Experimental) public StreamAttributes build()
build in interface software.amazon.jsii.Builder<StreamAttributes>StreamAttributesNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.