Class CfnStreamPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesisvideo.CfnStreamPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamPropsMixin>
- Enclosing class:
CfnStreamPropsMixin
@Stability(Stable)
public static final class CfnStreamPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamPropsMixin>
A fluent builder for
CfnStreamPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnStreamPropsMixin.Buildercreate()static CfnStreamPropsMixin.Buildercreate(CfnPropertyMixinOptions options) dataRetentionInHours(Number dataRetentionInHours) How long the stream retains data, in hours.deviceName(String deviceName) The name of the device that is associated with the stream.The ID of the AWS Key Management Service ( AWS ) key that Kinesis Video Streams uses to encrypt data on the stream.TheMediaTypeof the stream.The name of the stream.streamStorageConfiguration(CfnStreamPropsMixin.StreamStorageConfigurationProperty streamStorageConfiguration) The configuration for stream storage, including the default storage tier for stream data.streamStorageConfiguration(IResolvable streamStorageConfiguration) The configuration for stream storage, including the default storage tier for stream data.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnStreamPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnStreamPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnStreamPropsMixin.Builder.
-
dataRetentionInHours
@Stability(Stable) public CfnStreamPropsMixin.Builder dataRetentionInHours(Number dataRetentionInHours) How long the stream retains data, in hours.- Parameters:
dataRetentionInHours- How long the stream retains data, in hours. This parameter is required.- Returns:
this- See Also:
-
deviceName
The name of the device that is associated with the stream.- Parameters:
deviceName- The name of the device that is associated with the stream. This parameter is required.- Returns:
this- See Also:
-
kmsKeyId
The ID of the AWS Key Management Service ( AWS ) key that Kinesis Video Streams uses to encrypt data on the stream.- Parameters:
kmsKeyId- The ID of the AWS Key Management Service ( AWS ) key that Kinesis Video Streams uses to encrypt data on the stream. This parameter is required.- Returns:
this- See Also:
-
mediaType
TheMediaTypeof the stream.- Parameters:
mediaType- TheMediaTypeof the stream. This parameter is required.- Returns:
this- See Also:
-
name
The name of the stream.- Parameters:
name- The name of the stream. This parameter is required.- Returns:
this- See Also:
-
streamStorageConfiguration
@Stability(Stable) public CfnStreamPropsMixin.Builder streamStorageConfiguration(IResolvable streamStorageConfiguration) The configuration for stream storage, including the default storage tier for stream data.This configuration determines how stream data is stored and accessed, with different tiers offering varying levels of performance and cost optimization.
- Parameters:
streamStorageConfiguration- The configuration for stream storage, including the default storage tier for stream data. This parameter is required.- Returns:
this- See Also:
-
streamStorageConfiguration
@Stability(Stable) public CfnStreamPropsMixin.Builder streamStorageConfiguration(CfnStreamPropsMixin.StreamStorageConfigurationProperty streamStorageConfiguration) The configuration for stream storage, including the default storage tier for stream data.This configuration determines how stream data is stored and accessed, with different tiers offering varying levels of performance and cost optimization.
- Parameters:
streamStorageConfiguration- The configuration for stream storage, including the default storage tier for stream data. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStreamPropsMixin>- Returns:
- a newly built instance of
CfnStreamPropsMixin.
-