@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()
Pagination token to use when requesting the next page in this list.
|
List<WorkspaceSummary> |
getWorkspaces()
The list of existing workspaces, including those undergoing creation or deletion.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
Pagination token to use when requesting the next page in this list.
|
void |
setWorkspaces(Collection<WorkspaceSummary> workspaces)
The list of existing workspaces, including those undergoing creation or deletion.
|
String |
toString()
Returns a string representation of this object.
|
ListWorkspacesResult |
withNextToken(String nextToken)
Pagination token to use when requesting the next page in this list.
|
ListWorkspacesResult |
withWorkspaces(Collection<WorkspaceSummary> workspaces)
The list of existing workspaces, including those undergoing creation or deletion.
|
ListWorkspacesResult |
withWorkspaces(WorkspaceSummary... workspaces)
The list of existing workspaces, including those undergoing creation or deletion.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
Pagination token to use when requesting the next page in this list.
nextToken
- Pagination token to use when requesting the next page in this list.public String getNextToken()
Pagination token to use when requesting the next page in this list.
public ListWorkspacesResult withNextToken(String nextToken)
Pagination token to use when requesting the next page in this list.
nextToken
- Pagination token to use when requesting the next page in this list.public List<WorkspaceSummary> getWorkspaces()
The list of existing workspaces, including those undergoing creation or deletion.
public void setWorkspaces(Collection<WorkspaceSummary> workspaces)
The list of existing workspaces, including those undergoing creation or deletion.
workspaces
- The list of existing workspaces, including those undergoing creation or deletion.public ListWorkspacesResult withWorkspaces(WorkspaceSummary... workspaces)
The list of existing workspaces, including those undergoing creation or deletion.
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
- The list of existing workspaces, including those undergoing creation or deletion.public ListWorkspacesResult withWorkspaces(Collection<WorkspaceSummary> workspaces)
The list of existing workspaces, including those undergoing creation or deletion.
workspaces
- The list of existing workspaces, including those undergoing creation or deletion.public String toString()
toString
in class Object
Object.toString()
public ListWorkspacesResult clone()