Class UpdateDataRetentionRequest

    • Method Detail

      • streamName

        public final String streamName()

        The name of the stream whose retention period you want to change.

        Returns:
        The name of the stream whose retention period you want to change.
      • streamARN

        public final String streamARN()

        The Amazon Resource Name (ARN) of the stream whose retention period you want to change.

        Returns:
        The Amazon Resource Name (ARN) of the stream whose retention period you want to change.
      • currentVersion

        public final String currentVersion()

        The version of the stream whose retention period you want to change. To get the version, call either the DescribeStream or the ListStreams API.

        Returns:
        The version of the stream whose retention period you want to change. To get the version, call either the DescribeStream or the ListStreams API.
      • dataRetentionChangeInHours

        public final Integer dataRetentionChangeInHours()

        The number of hours to adjust the current retention by. The value you specify is added to or subtracted from the current value, depending on the operation.

        The minimum value for data retention is 0 and the maximum value is 87600 (ten years).

        Returns:
        The number of hours to adjust the current retention by. The value you specify is added to or subtracted from the current value, depending on the operation.

        The minimum value for data retention is 0 and the maximum value is 87600 (ten years).

      • 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