public class DescribeSessionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeSessionsResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeSessionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The pagination token to use to retrieve the next page of results for this operation.
|
List<Session> |
getSessions()
The list of streaming sessions.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
void |
setSessions(Collection<Session> sessions)
The list of streaming sessions.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeSessionsResult |
withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation.
|
DescribeSessionsResult |
withSessions(Collection<Session> sessions)
The list of streaming sessions.
|
DescribeSessionsResult |
withSessions(Session... sessions)
The list of streaming sessions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Session> getSessions()
The list of streaming sessions.
public void setSessions(Collection<Session> sessions)
The list of streaming sessions.
sessions - The list of streaming sessions.public DescribeSessionsResult withSessions(Session... sessions)
The list of streaming sessions.
NOTE: This method appends the values to the existing list (if any). Use
setSessions(java.util.Collection) or withSessions(java.util.Collection) if you want to override
the existing values.
sessions - The list of streaming sessions.public DescribeSessionsResult withSessions(Collection<Session> sessions)
The list of streaming sessions.
sessions - The list of streaming sessions.public void setNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken - The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String getNextToken()
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
public DescribeSessionsResult withNextToken(String nextToken)
The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken - The pagination token to use to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String toString()
toString in class ObjectObject.toString()public DescribeSessionsResult clone()
Copyright © 2016. All rights reserved.