@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()
List of stream sessions.
|
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)
List of stream sessions.
|
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)
List of stream sessions.
|
ListStreamSessionsResult |
withStreamSessions(StreamSessionSummary... streamSessions)
List of stream sessions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<StreamSessionSummary> getStreamSessions()
List of stream sessions.
public void setStreamSessions(Collection<StreamSessionSummary> streamSessions)
List of stream sessions.
streamSessions
- List of stream sessions.public ListStreamSessionsResult withStreamSessions(StreamSessionSummary... streamSessions)
List of stream sessions.
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
- List of stream sessions.public ListStreamSessionsResult withStreamSessions(Collection<StreamSessionSummary> streamSessions)
List of stream sessions.
streamSessions
- List of stream sessions.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 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 String toString()
toString
in class Object
Object.toString()
public ListStreamSessionsResult clone()