Interface AwsKinesisStreamDetails.Builder

    • Method Detail

      • name

        AwsKinesisStreamDetails.Builder name​(String 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

        AwsKinesisStreamDetails.Builder arn​(String 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

        AwsKinesisStreamDetails.Builder streamEncryption​(AwsKinesisStreamStreamEncryptionDetails 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.
      • 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.