Class CfnStreamMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kinesisvideo.CfnStreamMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamMixinProps>
- Enclosing interface:
CfnStreamMixinProps
@Stability(Stable)
public static final class CfnStreamMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamMixinProps>
A builder for
CfnStreamMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dataRetentionInHours(Number dataRetentionInHours) Sets the value ofCfnStreamMixinProps.getDataRetentionInHours()deviceName(String deviceName) Sets the value ofCfnStreamMixinProps.getDeviceName()Sets the value ofCfnStreamMixinProps.getKmsKeyId()Sets the value ofCfnStreamMixinProps.getMediaType()Sets the value ofCfnStreamMixinProps.getName()streamStorageConfiguration(CfnStreamPropsMixin.StreamStorageConfigurationProperty streamStorageConfiguration) Sets the value ofCfnStreamMixinProps.getStreamStorageConfiguration()streamStorageConfiguration(IResolvable streamStorageConfiguration) Sets the value ofCfnStreamMixinProps.getStreamStorageConfiguration()Sets the value ofCfnStreamMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dataRetentionInHours
@Stability(Stable) public CfnStreamMixinProps.Builder dataRetentionInHours(Number dataRetentionInHours) Sets the value ofCfnStreamMixinProps.getDataRetentionInHours()- Parameters:
dataRetentionInHours- How long the stream retains data, in hours.- Returns:
this
-
deviceName
Sets the value ofCfnStreamMixinProps.getDeviceName()- Parameters:
deviceName- The name of the device that is associated with the stream.- Returns:
this
-
kmsKeyId
Sets the value ofCfnStreamMixinProps.getKmsKeyId()- Parameters:
kmsKeyId- The ID of the AWS Key Management Service ( AWS ) key that Kinesis Video Streams uses to encrypt data on the stream.- Returns:
this
-
mediaType
Sets the value ofCfnStreamMixinProps.getMediaType()- Parameters:
mediaType- TheMediaTypeof the stream.- Returns:
this
-
name
Sets the value ofCfnStreamMixinProps.getName()- Parameters:
name- The name of the stream.- Returns:
this
-
streamStorageConfiguration
@Stability(Stable) public CfnStreamMixinProps.Builder streamStorageConfiguration(IResolvable streamStorageConfiguration) Sets the value ofCfnStreamMixinProps.getStreamStorageConfiguration()- Parameters:
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.- Returns:
this
-
streamStorageConfiguration
@Stability(Stable) public CfnStreamMixinProps.Builder streamStorageConfiguration(CfnStreamPropsMixin.StreamStorageConfigurationProperty streamStorageConfiguration) Sets the value ofCfnStreamMixinProps.getStreamStorageConfiguration()- Parameters:
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.- Returns:
this
-
tags
Sets the value ofCfnStreamMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStreamMixinProps>- Returns:
- a new instance of
CfnStreamMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-