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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeStreamResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeStreamResult
clone()
boolean
equals(Object obj)
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.int
hashCode()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.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.
-
-
-
Method Detail
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeStreamResult clone()
-
-