@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorkspacesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListWorkspacesResult() |
Modifier and Type | Method and Description |
---|---|
ListWorkspacesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The string that specifies the next page of results.
|
List<WorkspaceSummary> |
getWorkspaceSummaries()
A list of objects that contain information about the workspaces.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The string that specifies the next page of results.
|
void |
setWorkspaceSummaries(Collection<WorkspaceSummary> workspaceSummaries)
A list of objects that contain information about the workspaces.
|
String |
toString()
Returns a string representation of this object.
|
ListWorkspacesResult |
withNextToken(String nextToken)
The string that specifies the next page of results.
|
ListWorkspacesResult |
withWorkspaceSummaries(Collection<WorkspaceSummary> workspaceSummaries)
A list of objects that contain information about the workspaces.
|
ListWorkspacesResult |
withWorkspaceSummaries(WorkspaceSummary... workspaceSummaries)
A list of objects that contain information about the workspaces.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<WorkspaceSummary> getWorkspaceSummaries()
A list of objects that contain information about the workspaces.
public void setWorkspaceSummaries(Collection<WorkspaceSummary> workspaceSummaries)
A list of objects that contain information about the workspaces.
workspaceSummaries
- A list of objects that contain information about the workspaces.public ListWorkspacesResult withWorkspaceSummaries(WorkspaceSummary... workspaceSummaries)
A list of objects that contain information about the workspaces.
NOTE: This method appends the values to the existing list (if any). Use
setWorkspaceSummaries(java.util.Collection)
or withWorkspaceSummaries(java.util.Collection)
if
you want to override the existing values.
workspaceSummaries
- A list of objects that contain information about the workspaces.public ListWorkspacesResult withWorkspaceSummaries(Collection<WorkspaceSummary> workspaceSummaries)
A list of objects that contain information about the workspaces.
workspaceSummaries
- A list of objects that contain information about the workspaces.public void setNextToken(String nextToken)
The string that specifies the next page of results.
nextToken
- The string that specifies the next page of results.public String getNextToken()
The string that specifies the next page of results.
public ListWorkspacesResult withNextToken(String nextToken)
The string that specifies the next page of results.
nextToken
- The string that specifies the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListWorkspacesResult clone()