Class AwsKinesisStreamDetails

    • Method Detail

      • name

        public final 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.

        Returns:
        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.
      • arn

        public final String arn()

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

        Returns:
        The Amazon Resource Name (ARN) of the Kinesis data stream.
      • streamEncryption

        public final 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.

        Returns:
        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.
      • shardCount

        public final Integer shardCount()

        The number of shards that the stream uses.

        Returns:
        The number of shards that the stream uses.
      • retentionPeriodHours

        public final Integer retentionPeriodHours()

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

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

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)