public class DescribeStreamResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the output for DescribeStream
.
Modifier and Type | Field and Description |
---|---|
private 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.
|
Constructor and Description |
---|
DescribeStreamResult() |
Modifier and Type | Method and Description |
---|---|
DescribeStreamResult |
clone() |
boolean |
equals(java.lang.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.
|
java.lang.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.
|
private 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.
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.
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.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.
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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeStreamResult clone()
clone
in class java.lang.Object