@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeWorkspacesPoolSessionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeWorkspacesPoolSessionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeWorkspacesPoolSessionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If you received a
NextToken from a previous call that was paginated, provide this token to receive
the next set of results. |
List<WorkspacesPoolSession> |
getSessions()
Describes the pool sessions.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If you received a
NextToken from a previous call that was paginated, provide this token to receive
the next set of results. |
void |
setSessions(Collection<WorkspacesPoolSession> sessions)
Describes the pool sessions.
|
String |
toString()
Returns a string representation of this object.
|
DescribeWorkspacesPoolSessionsResult |
withNextToken(String nextToken)
If you received a
NextToken from a previous call that was paginated, provide this token to receive
the next set of results. |
DescribeWorkspacesPoolSessionsResult |
withSessions(Collection<WorkspacesPoolSession> sessions)
Describes the pool sessions.
|
DescribeWorkspacesPoolSessionsResult |
withSessions(WorkspacesPoolSession... sessions)
Describes the pool sessions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public DescribeWorkspacesPoolSessionsResult()
public List<WorkspacesPoolSession> getSessions()
Describes the pool sessions.
public void setSessions(Collection<WorkspacesPoolSession> sessions)
Describes the pool sessions.
sessions
- Describes the pool sessions.public DescribeWorkspacesPoolSessionsResult withSessions(WorkspacesPoolSession... sessions)
Describes the pool 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
- Describes the pool sessions.public DescribeWorkspacesPoolSessionsResult withSessions(Collection<WorkspacesPoolSession> sessions)
Describes the pool sessions.
sessions
- Describes the pool sessions.public void setNextToken(String nextToken)
If you received a NextToken
from a previous call that was paginated, provide this token to receive
the next set of results.
nextToken
- If you received a NextToken
from a previous call that was paginated, provide this token to
receive the next set of results.public String getNextToken()
If you received a NextToken
from a previous call that was paginated, provide this token to receive
the next set of results.
NextToken
from a previous call that was paginated, provide this token to
receive the next set of results.public DescribeWorkspacesPoolSessionsResult withNextToken(String nextToken)
If you received a NextToken
from a previous call that was paginated, provide this token to receive
the next set of results.
nextToken
- If you received a NextToken
from a previous call that was paginated, provide this token to
receive the next set of results.public String toString()
toString
in class Object
Object.toString()
public DescribeWorkspacesPoolSessionsResult clone()