@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()
If there are more streams than
maxResults , use nextToken in the request to get the next
set. |
List<StreamSummary> |
getStreams()
List of streams.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If there are more streams than
maxResults , use nextToken in the request to get the next
set. |
void |
setStreams(Collection<StreamSummary> streams)
List of streams.
|
String |
toString()
Returns a string representation of this object.
|
ListStreamsResult |
withNextToken(String nextToken)
If there are more streams than
maxResults , use nextToken in the request to get the next
set. |
ListStreamsResult |
withStreams(Collection<StreamSummary> streams)
List of streams.
|
ListStreamsResult |
withStreams(StreamSummary... streams)
List of streams.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<StreamSummary> getStreams()
List of streams.
public void setStreams(Collection<StreamSummary> streams)
List of streams.
streams
- List of streams.public ListStreamsResult withStreams(StreamSummary... streams)
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
- List of streams.public ListStreamsResult withStreams(Collection<StreamSummary> streams)
List of streams.
streams
- List of streams.public void setNextToken(String nextToken)
If there are more streams than maxResults
, use nextToken
in the request to get the next
set.
nextToken
- If there are more streams than maxResults
, use nextToken
in the request to get
the next set.public String getNextToken()
If there are more streams than maxResults
, use nextToken
in the request to get the next
set.
maxResults
, use nextToken
in the request to get
the next set.public ListStreamsResult withNextToken(String nextToken)
If there are more streams than maxResults
, use nextToken
in the request to get the next
set.
nextToken
- If there are more streams than maxResults
, use nextToken
in the request to get
the next set.public String toString()
toString
in class Object
Object.toString()
public ListStreamsResult clone()