Class CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty>
- Enclosing interface:
CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty
@Stability(Stable)
public static final class CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.encryptionConfig
(IResolvable encryptionConfig) encryptionConfig
(CfnInstanceStorageConfig.EncryptionConfigProperty encryptionConfig) Sets the value ofCfnInstanceStorageConfig.KinesisVideoStreamConfigProperty.getPrefix()
retentionPeriodHours
(Number retentionPeriodHours)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionConfig
@Stability(Stable) public CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty.Builder encryptionConfig(IResolvable encryptionConfig) - Parameters:
encryptionConfig
- The encryption configuration. This parameter is required.- Returns:
this
-
encryptionConfig
@Stability(Stable) public CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty.Builder encryptionConfig(CfnInstanceStorageConfig.EncryptionConfigProperty encryptionConfig) - Parameters:
encryptionConfig
- The encryption configuration. This parameter is required.- Returns:
this
-
prefix
@Stability(Stable) public CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty.Builder prefix(String prefix) Sets the value ofCfnInstanceStorageConfig.KinesisVideoStreamConfigProperty.getPrefix()
- Parameters:
prefix
- The prefix of the video stream. This parameter is required.- Returns:
this
-
retentionPeriodHours
@Stability(Stable) public CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty.Builder retentionPeriodHours(Number retentionPeriodHours) Sets the value ofCfnInstanceStorageConfig.KinesisVideoStreamConfigProperty.getRetentionPeriodHours()
- Parameters:
retentionPeriodHours
- The number of hours data is retained in the stream. This parameter is required. Kinesis Video Streams retains the data in a data store that is associated with the stream.The default value is 0, indicating that the stream does not persist data.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty>
- Returns:
- a new instance of
CfnInstanceStorageConfig.KinesisVideoStreamConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-