@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 |
dataRetentionInHours(Number dataRetentionInHours)
Sets the value of
CfnStreamProps.getDataRetentionInHours() |
CfnStreamProps.Builder |
deviceName(String deviceName)
Sets the value of
CfnStreamProps.getDeviceName() |
CfnStreamProps.Builder |
kmsKeyId(String kmsKeyId)
Sets the value of
CfnStreamProps.getKmsKeyId() |
CfnStreamProps.Builder |
mediaType(String mediaType)
Sets the value of
CfnStreamProps.getMediaType() |
CfnStreamProps.Builder |
name(String name)
Sets the value of
CfnStreamProps.getName() |
CfnStreamProps.Builder |
tags(List<? extends CfnTag> tags)
Sets the value of
CfnStreamProps.getTags() |
@Stability(value=Stable) public CfnStreamProps.Builder dataRetentionInHours(Number dataRetentionInHours)
CfnStreamProps.getDataRetentionInHours()dataRetentionInHours - How long the stream retains data, in hours.this@Stability(value=Stable) public CfnStreamProps.Builder deviceName(String deviceName)
CfnStreamProps.getDeviceName()deviceName - The name of the device that is associated with the stream.this@Stability(value=Stable) public CfnStreamProps.Builder kmsKeyId(String kmsKeyId)
CfnStreamProps.getKmsKeyId()kmsKeyId - The ID of the AWS Key Management Service ( AWS KMS ) key that Kinesis Video Streams uses to encrypt data on the stream.this@Stability(value=Stable) public CfnStreamProps.Builder mediaType(String mediaType)
CfnStreamProps.getMediaType()mediaType - The `MediaType` of the stream.this@Stability(value=Stable) public CfnStreamProps.Builder name(String name)
CfnStreamProps.getName()name - The name of the stream.this@Stability(value=Stable) public CfnStreamProps.Builder tags(List<? extends CfnTag> tags)
CfnStreamProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnStreamProps build()
build in interface software.amazon.jsii.Builder<CfnStreamProps>CfnStreamPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.