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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default KinesisVideoStreamConfig.BuilderencryptionConfig(Consumer<EncryptionConfig.Builder> encryptionConfig)The encryption configuration.KinesisVideoStreamConfig.BuilderencryptionConfig(EncryptionConfig encryptionConfig)The encryption configuration.KinesisVideoStreamConfig.Builderprefix(String prefix)The prefix of the video stream.KinesisVideoStreamConfig.BuilderretentionPeriodHours(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 Detail
-
prefix
KinesisVideoStreamConfig.Builder prefix(String 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
KinesisVideoStreamConfig.Builder retentionPeriodHours(Integer 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
KinesisVideoStreamConfig.Builder encryptionConfig(EncryptionConfig 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.Builderavoiding the need to create one manually viaEncryptionConfig.builder().When the
Consumercompletes,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:
encryptionConfig(EncryptionConfig)
-
-