public class ListStreamsResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ListStreamsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
A token used to get the next set of results.
|
java.util.List<StreamSummary> |
getStreams()
A list of streams.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
A token used to get the next set of results.
|
void |
setStreams(java.util.Collection<StreamSummary> streams)
A list of streams.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListStreamsResult |
withNextToken(java.lang.String nextToken)
A token used to get the next set of results.
|
ListStreamsResult |
withStreams(java.util.Collection<StreamSummary> streams)
A list of streams.
|
ListStreamsResult |
withStreams(StreamSummary... streams)
A list of streams.
|
public java.util.List<StreamSummary> getStreams()
A list of streams.
A list of streams.
public void setStreams(java.util.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(java.util.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.