@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeWorkspacesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the results for the DescribeWorkspaces operation.
Constructor and Description |
---|
DescribeWorkspacesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeWorkspacesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If not null, more results are available.
|
List<Workspace> |
getWorkspaces()
An array of structures that contain the information about the WorkSpaces.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If not null, more results are available.
|
void |
setWorkspaces(Collection<Workspace> workspaces)
An array of structures that contain the information about the WorkSpaces.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeWorkspacesResult |
withNextToken(String nextToken)
If not null, more results are available.
|
DescribeWorkspacesResult |
withWorkspaces(Collection<Workspace> workspaces)
An array of structures that contain the information about the WorkSpaces.
|
DescribeWorkspacesResult |
withWorkspaces(Workspace... workspaces)
An array of structures that contain the information about the WorkSpaces.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Workspace> getWorkspaces()
An array of structures that contain the information about the WorkSpaces.
Because the CreateWorkspaces operation is asynchronous, some of this information may be incomplete for a newly-created WorkSpace.
Because the CreateWorkspaces operation is asynchronous, some of this information may be incomplete for a newly-created WorkSpace.
public void setWorkspaces(Collection<Workspace> workspaces)
An array of structures that contain the information about the WorkSpaces.
Because the CreateWorkspaces operation is asynchronous, some of this information may be incomplete for a newly-created WorkSpace.
workspaces
- An array of structures that contain the information about the WorkSpaces.
Because the CreateWorkspaces operation is asynchronous, some of this information may be incomplete for a newly-created WorkSpace.
public DescribeWorkspacesResult withWorkspaces(Workspace... workspaces)
An array of structures that contain the information about the WorkSpaces.
Because the CreateWorkspaces operation is asynchronous, some of this information may be incomplete for a newly-created WorkSpace.
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
- An array of structures that contain the information about the WorkSpaces.
Because the CreateWorkspaces operation is asynchronous, some of this information may be incomplete for a newly-created WorkSpace.
public DescribeWorkspacesResult withWorkspaces(Collection<Workspace> workspaces)
An array of structures that contain the information about the WorkSpaces.
Because the CreateWorkspaces operation is asynchronous, some of this information may be incomplete for a newly-created WorkSpace.
workspaces
- An array of structures that contain the information about the WorkSpaces.
Because the CreateWorkspaces operation is asynchronous, some of this information may be incomplete for a newly-created WorkSpace.
public void setNextToken(String nextToken)
If not null, more results are available. Pass this value for the NextToken
parameter in a subsequent
call to this operation to retrieve the next set of items. This token is valid for one day and must be used within
that time frame.
nextToken
- If not null, more results are available. Pass this value for the NextToken
parameter in a
subsequent call to this operation to retrieve the next set of items. This token is valid for one day and
must be used within that time frame.public String getNextToken()
If not null, more results are available. Pass this value for the NextToken
parameter in a subsequent
call to this operation to retrieve the next set of items. This token is valid for one day and must be used within
that time frame.
NextToken
parameter in a
subsequent call to this operation to retrieve the next set of items. This token is valid for one day and
must be used within that time frame.public DescribeWorkspacesResult withNextToken(String nextToken)
If not null, more results are available. Pass this value for the NextToken
parameter in a subsequent
call to this operation to retrieve the next set of items. This token is valid for one day and must be used within
that time frame.
nextToken
- If not null, more results are available. Pass this value for the NextToken
parameter in a
subsequent call to this operation to retrieve the next set of items. 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.