Interface AwsKinesisStreamDetails.Builder

  • Method Details

    • name

      The name of the Kinesis stream. If you don't specify a name, CloudFront generates a unique physical ID and uses that ID for the stream name.

      Parameters:
      name - The name of the Kinesis stream. If you don't specify a name, CloudFront generates a unique physical ID and uses that ID for the stream name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the Kinesis data stream.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the Kinesis data stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamEncryption

      When specified, enables or updates server-side encryption using an KMS key for a specified stream. Removing this property from your stack template and updating your stack disables encryption.

      Parameters:
      streamEncryption - When specified, enables or updates server-side encryption using an KMS key for a specified stream. Removing this property from your stack template and updating your stack disables encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • streamEncryption

      When specified, enables or updates server-side encryption using an KMS key for a specified stream. Removing this property from your stack template and updating your stack disables encryption.

      This is a convenience method that creates an instance of the AwsKinesisStreamStreamEncryptionDetails.Builder avoiding the need to create one manually via AwsKinesisStreamStreamEncryptionDetails.builder().

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

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

      AwsKinesisStreamDetails.Builder shardCount(Integer shardCount)

      The number of shards that the stream uses.

      Parameters:
      shardCount - The number of shards that the stream uses.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • retentionPeriodHours

      AwsKinesisStreamDetails.Builder retentionPeriodHours(Integer retentionPeriodHours)

      The number of hours for the data records that are stored in shards to remain accessible.

      Parameters:
      retentionPeriodHours - The number of hours for the data records that are stored in shards to remain accessible.
      Returns:
      Returns a reference to this object so that method calls can be chained together.