@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeWorkspacesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeWorkspacesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeWorkspacesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next set of results, or null if there are no more results available.
|
List<Workspace> |
getWorkspaces()
Information about the WorkSpaces.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next set of results, or null if there are no more results available.
|
void |
setWorkspaces(Collection<Workspace> workspaces)
Information about the WorkSpaces.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeWorkspacesResult |
withNextToken(String nextToken)
The token to use to retrieve the next set of results, or null if there are no more results available.
|
DescribeWorkspacesResult |
withWorkspaces(Collection<Workspace> workspaces)
Information about the WorkSpaces.
|
DescribeWorkspacesResult |
withWorkspaces(Workspace... workspaces)
Information about the WorkSpaces.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Workspace> getWorkspaces()
Information about the WorkSpaces.
Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.
Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.
public void setWorkspaces(Collection<Workspace> workspaces)
Information about the WorkSpaces.
Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.
workspaces
- Information about the WorkSpaces.
Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.
public DescribeWorkspacesResult withWorkspaces(Workspace... workspaces)
Information about the WorkSpaces.
Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.
NOTE: This method appends the values to the existing list (if any). Use
setWorkspaces(java.util.Collection)
or withWorkspaces(java.util.Collection)
if you want to
override the existing values.
workspaces
- Information about the WorkSpaces.
Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.
public DescribeWorkspacesResult withWorkspaces(Collection<Workspace> workspaces)
Information about the WorkSpaces.
Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.
workspaces
- Information about the WorkSpaces.
Because CreateWorkspaces is an asynchronous operation, some of the returned information could be incomplete.
public void setNextToken(String nextToken)
The token to use to retrieve the next set of results, or null if there are no more results available. This token is valid for one day and must be used within that time frame.
nextToken
- The token to use to retrieve the next set of results, or null if there are no more results available. This
token is valid for one day and must be used within that time frame.public String getNextToken()
The token to use to retrieve the next set of results, or null if there are no more results available. This token is valid for one day and must be used within that time frame.
public DescribeWorkspacesResult withNextToken(String nextToken)
The token to use to retrieve the next set of results, or null if there are no more results available. This token is valid for one day and must be used within that time frame.
nextToken
- The token to use to retrieve the next set of results, or null if there are no more results available. This
token is valid for one day and must be used within that time frame.public String toString()
toString
in class Object
Object.toString()
public DescribeWorkspacesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.