@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListStreamSessionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListStreamSessionsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListStreamSessionsResult |
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<StreamSessionSummary> |
getStreamSessions()
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If there are more streams than
maxResults, use nextToken in the request to get the next
set. |
void |
setStreamSessions(Collection<StreamSessionSummary> streamSessions)
|
String |
toString()
Returns a string representation of this object.
|
ListStreamSessionsResult |
withNextToken(String nextToken)
If there are more streams than
maxResults, use nextToken in the request to get the next
set. |
ListStreamSessionsResult |
withStreamSessions(Collection<StreamSessionSummary> streamSessions)
|
ListStreamSessionsResult |
withStreamSessions(StreamSessionSummary... streamSessions)
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 ListStreamSessionsResult 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 List<StreamSessionSummary> getStreamSessions()
public void setStreamSessions(Collection<StreamSessionSummary> streamSessions)
streamSessions - public ListStreamSessionsResult withStreamSessions(StreamSessionSummary... streamSessions)
NOTE: This method appends the values to the existing list (if any). Use
setStreamSessions(java.util.Collection) or withStreamSessions(java.util.Collection) if you want
to override the existing values.
streamSessions - public ListStreamSessionsResult withStreamSessions(Collection<StreamSessionSummary> streamSessions)
streamSessions - public String toString()
toString in class ObjectObject.toString()public ListStreamSessionsResult clone()
Copyright © 2021. All rights reserved.