com.amazonaws.services.kinesis.model
Class DescribeStreamResult

java.lang.Object
  extended by com.amazonaws.services.kinesis.model.DescribeStreamResult
All Implemented Interfaces:
Serializable

public class DescribeStreamResult
extends Object
implements Serializable

Represents the output of a DescribeStream operation.

See Also:
Serialized Form

Constructor Summary
DescribeStreamResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 StreamDescription getStreamDescription()
          Contains 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)
          Contains 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)
          Contains 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeStreamResult

public DescribeStreamResult()
Method Detail

getStreamDescription

public StreamDescription getStreamDescription()
Contains 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:
Contains 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.

setStreamDescription

public void setStreamDescription(StreamDescription streamDescription)
Contains 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 - Contains 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)
Contains 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 a reference to this object so that method calls can be chained together.

Parameters:
streamDescription - Contains 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:
A reference to this updated 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

equals

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


Copyright © 2016. All rights reserved.