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 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

      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 the EncryptionConfig.Builder avoiding the need to create one manually via EncryptionConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to encryptionConfig(EncryptionConfig).

      Parameters:
      encryptionConfig - a consumer that will call methods on EncryptionConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: