@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListStreamsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListStreamsResult() |
Modifier and Type | Method and Description |
---|---|
ListStreamsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token used to get the next set of results.
|
List<StreamSummary> |
getStreams()
A list of streams.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token used to get the next set of results.
|
void |
setStreams(Collection<StreamSummary> streams)
A list of streams.
|
String |
toString()
Returns a string representation of this object.
|
ListStreamsResult |
withNextToken(String nextToken)
A token used to get the next set of results.
|
ListStreamsResult |
withStreams(Collection<StreamSummary> streams)
A list of streams.
|
ListStreamsResult |
withStreams(StreamSummary... streams)
A list of streams.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<StreamSummary> getStreams()
A list of streams.
public void setStreams(Collection<StreamSummary> streams)
A list of streams.
streams
- A list of streams.public ListStreamsResult withStreams(StreamSummary... streams)
A list of streams.
NOTE: This method appends the values to the existing list (if any). Use
setStreams(java.util.Collection)
or withStreams(java.util.Collection)
if you want to override
the existing values.
streams
- A list of streams.public ListStreamsResult withStreams(Collection<StreamSummary> streams)
A list of streams.
streams
- A list of streams.public void setNextToken(String nextToken)
A token used to get the next set of results.
nextToken
- A token used to get the next set of results.public String getNextToken()
A token used to get the next set of results.
public ListStreamsResult withNextToken(String nextToken)
A token used to get the next set of results.
nextToken
- A token used to get the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListStreamsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.