@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorkspacesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the output of a ListWorkspaces operation.
| Constructor and Description |
|---|
ListWorkspacesResult() |
| Modifier and Type | Method and Description |
|---|---|
ListWorkspacesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token indicating that there are more results to retrieve.
|
List<WorkspaceSummary> |
getWorkspaces()
An array of
WorkspaceSummary structures containing information about the workspaces requested. |
int |
hashCode() |
void |
setNextToken(String nextToken)
A token indicating that there are more results to retrieve.
|
void |
setWorkspaces(Collection<WorkspaceSummary> workspaces)
An array of
WorkspaceSummary structures containing information about the workspaces requested. |
String |
toString()
Returns a string representation of this object.
|
ListWorkspacesResult |
withNextToken(String nextToken)
A token indicating that there are more results to retrieve.
|
ListWorkspacesResult |
withWorkspaces(Collection<WorkspaceSummary> workspaces)
An array of
WorkspaceSummary structures containing information about the workspaces requested. |
ListWorkspacesResult |
withWorkspaces(WorkspaceSummary... workspaces)
An array of
WorkspaceSummary structures containing information about the workspaces requested. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
A token indicating that there are more results to retrieve. You can use this token as part of your next
ListWorkspaces request to retrieve those results.
nextToken - A token indicating that there are more results to retrieve. You can use this token as part of your next
ListWorkspaces request to retrieve those results.public String getNextToken()
A token indicating that there are more results to retrieve. You can use this token as part of your next
ListWorkspaces request to retrieve those results.
ListWorkspaces request to retrieve those results.public ListWorkspacesResult withNextToken(String nextToken)
A token indicating that there are more results to retrieve. You can use this token as part of your next
ListWorkspaces request to retrieve those results.
nextToken - A token indicating that there are more results to retrieve. You can use this token as part of your next
ListWorkspaces request to retrieve those results.public List<WorkspaceSummary> getWorkspaces()
An array of WorkspaceSummary structures containing information about the workspaces requested.
WorkspaceSummary structures containing information about the workspaces
requested.public void setWorkspaces(Collection<WorkspaceSummary> workspaces)
An array of WorkspaceSummary structures containing information about the workspaces requested.
workspaces - An array of WorkspaceSummary structures containing information about the workspaces
requested.public ListWorkspacesResult withWorkspaces(WorkspaceSummary... workspaces)
An array of WorkspaceSummary structures containing information about the workspaces requested.
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 WorkspaceSummary structures containing information about the workspaces
requested.public ListWorkspacesResult withWorkspaces(Collection<WorkspaceSummary> workspaces)
An array of WorkspaceSummary structures containing information about the workspaces requested.
workspaces - An array of WorkspaceSummary structures containing information about the workspaces
requested.public String toString()
toString in class ObjectObject.toString()public ListWorkspacesResult clone()