@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 page of results.
|
List<Workspace> |
getWorkspaces()
Information about the WorkSpaces.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setWorkspaces(Collection<Workspace> workspaces)
Information about the WorkSpaces.
|
String |
toString()
Returns a string representation of this object.
|
DescribeWorkspacesResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
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 page of results. This value is null when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null when there are no more results
to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
public DescribeWorkspacesResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null when there are no more results
to return.public String toString()
toString
in class Object
Object.toString()
public DescribeWorkspacesResult clone()