Class DescribeStreamResult

java.lang.Object
com.amazonaws.services.kinesis.model.DescribeStreamResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeStreamResult extends Object implements Serializable, Cloneable

Represents the output for DescribeStream.

See Also:
  • Constructor Details

    • DescribeStreamResult

      public DescribeStreamResult()
  • Method Details

    • setStreamDescription

      public void setStreamDescription(StreamDescription streamDescription)

      The current status of the stream, the stream ARN, an array of shard objects that comprise the stream, and states whether there are more shards available.

      Parameters:
      streamDescription - The current status of the stream, the stream ARN, an array of shard objects that comprise the stream, and states whether there are more shards available.
    • getStreamDescription

      public StreamDescription getStreamDescription()

      The current status of the stream, the stream ARN, an array of shard objects that comprise the stream, and states whether there are more shards available.

      Returns:
      The current status of the stream, the stream ARN, an array of shard objects that comprise the stream, and states whether there are more shards available.
    • withStreamDescription

      public DescribeStreamResult withStreamDescription(StreamDescription streamDescription)

      The current status of the stream, the stream ARN, an array of shard objects that comprise the stream, and states whether there are more shards available.

      Parameters:
      streamDescription - The current status of the stream, the stream ARN, an array of shard objects that comprise the stream, and states whether there are more shards available.
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public DescribeStreamResult clone()
      Overrides:
      clone in class Object