Interface KinesisVideoStreamConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KinesisVideoStreamConfig.Builder,
,KinesisVideoStreamConfig> SdkBuilder<KinesisVideoStreamConfig.Builder,
,KinesisVideoStreamConfig> SdkPojo
- Enclosing class:
KinesisVideoStreamConfig
public static interface KinesisVideoStreamConfig.Builder
extends SdkPojo, CopyableBuilder<KinesisVideoStreamConfig.Builder,KinesisVideoStreamConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault KinesisVideoStreamConfig.Builder
encryptionConfig
(Consumer<EncryptionConfig.Builder> encryptionConfig) The encryption configuration.encryptionConfig
(EncryptionConfig encryptionConfig) The encryption configuration.The prefix of the video stream.retentionPeriodHours
(Integer retentionPeriodHours) The number of hours data is retained in the stream.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
prefix
The prefix of the video stream.
- Parameters:
prefix
- The prefix of the video stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriodHours
The number of hours data is retained in the stream. 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.
- Parameters:
retentionPeriodHours
- The number of hours data is retained in the stream. 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:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
The encryption configuration.
- Parameters:
encryptionConfig
- The encryption configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfig
default KinesisVideoStreamConfig.Builder encryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig) The encryption configuration.
This is a convenience method that creates an instance of theEncryptionConfig.Builder
avoiding the need to create one manually viaEncryptionConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionConfig(EncryptionConfig)
.- Parameters:
encryptionConfig
- a consumer that will call methods onEncryptionConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-