public class ListStreamsResult extends Object implements Serializable
| Constructor and Description |
|---|
ListStreamsResult() |
| Modifier and Type | Method and Description |
|---|---|
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; useful for testing and
debugging.
|
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.
|
public List<StreamSummary> getStreams()
A list of streams.
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.
Returns a reference to this object so that method calls can be chained together.
streams - A list of streams.
public ListStreamsResult withStreams(Collection<StreamSummary> streams)
A list of streams.
Returns a reference to this object so that method calls can be chained together.
streams - A list of streams.
public String getNextToken()
A token used to get the next set of results.
A token used to get the next set of results.
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 ListStreamsResult withNextToken(String nextToken)
A token used to get the next set of results.
Returns a reference to this object so that method calls can be chained together.
nextToken - A token used to get the next set of results.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.