Class DecreaseStreamRetentionPeriodRequest

    • Constructor Detail

      • DecreaseStreamRetentionPeriodRequest

        public DecreaseStreamRetentionPeriodRequest()
    • Method Detail

      • setStreamName

        public void setStreamName​(String streamName)

        The name of the stream to modify.

        Parameters:
        streamName - The name of the stream to modify.
      • getStreamName

        public String getStreamName()

        The name of the stream to modify.

        Returns:
        The name of the stream to modify.
      • withStreamName

        public DecreaseStreamRetentionPeriodRequest withStreamName​(String streamName)

        The name of the stream to modify.

        Parameters:
        streamName - The name of the stream to modify.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRetentionPeriodHours

        public void setRetentionPeriodHours​(Integer retentionPeriodHours)

        The new retention period of the stream, in hours. Must be less than the current retention period.

        Parameters:
        retentionPeriodHours - The new retention period of the stream, in hours. Must be less than the current retention period.
      • getRetentionPeriodHours

        public Integer getRetentionPeriodHours()

        The new retention period of the stream, in hours. Must be less than the current retention period.

        Returns:
        The new retention period of the stream, in hours. Must be less than the current retention period.
      • withRetentionPeriodHours

        public DecreaseStreamRetentionPeriodRequest withRetentionPeriodHours​(Integer retentionPeriodHours)

        The new retention period of the stream, in hours. Must be less than the current retention period.

        Parameters:
        retentionPeriodHours - The new retention period of the stream, in hours. Must be less than the current retention period.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object