Class DescribeWorkspacesResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the results for the DescribeWorkspaces operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
If not null, more results are available.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.toString()
Returns a string representation of this object; useful for testing and debugging.withNextToken
(String nextToken) If not null, more results are available.withWorkspaces
(Workspace... workspaces) An array of structures that contain the information about the WorkSpaces.withWorkspaces
(Collection<Workspace> workspaces) An array of structures that contain the information about the WorkSpaces.
-
Constructor Details
-
DescribeWorkspacesResult
public DescribeWorkspacesResult()
-
-
Method Details
-
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.
- Returns:
- 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.
-
setWorkspaces
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.
- Parameters:
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.
-
withWorkspaces
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)
orwithWorkspaces(java.util.Collection)
if you want to override the existing values.- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withWorkspaces
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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 timeframe.- Parameters:
nextToken
- If not null, more results are available. Pass this value for theNextToken
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 timeframe.
-
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 timeframe.- Returns:
- 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 timeframe.
-
withNextToken
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 timeframe.- Parameters:
nextToken
- If not null, more results are available. Pass this value for theNextToken
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 timeframe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-