@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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()
Information about the 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)
Information about the 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)
Information about the streaming sessions.
|
DescribeSessionsResult |
withSessions(Session... sessions)
Information about the streaming sessions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Session> getSessions()
Information about the streaming sessions.
public void setSessions(Collection<Session> sessions)
Information about the streaming sessions.
sessions
- Information about the streaming sessions.public DescribeSessionsResult withSessions(Session... sessions)
Information about the 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
- Information about the streaming sessions.public DescribeSessionsResult withSessions(Collection<Session> sessions)
Information about the streaming sessions.
sessions
- Information about the 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 Object
Object.toString()
public DescribeSessionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.