public class DescribeWorkspaceDirectoriesResult extends Object implements Serializable, Cloneable
Contains the results of the DescribeWorkspaceDirectories operation.
Constructor and Description |
---|
DescribeWorkspaceDirectoriesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeWorkspaceDirectoriesResult |
clone() |
boolean |
equals(Object obj) |
List<WorkspaceDirectory> |
getDirectories()
An array of structures that contain information about the directories.
|
String |
getNextToken()
If not null, more results are available.
|
int |
hashCode() |
void |
setDirectories(Collection<WorkspaceDirectory> directories)
An array of structures that contain information about the directories.
|
void |
setNextToken(String nextToken)
If not null, more results are available.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeWorkspaceDirectoriesResult |
withDirectories(Collection<WorkspaceDirectory> directories)
An array of structures that contain information about the directories.
|
DescribeWorkspaceDirectoriesResult |
withDirectories(WorkspaceDirectory... directories)
An array of structures that contain information about the directories.
|
DescribeWorkspaceDirectoriesResult |
withNextToken(String nextToken)
If not null, more results are available.
|
public List<WorkspaceDirectory> getDirectories()
An array of structures that contain information about the directories.
public void setDirectories(Collection<WorkspaceDirectory> directories)
An array of structures that contain information about the directories.
directories
- An array of structures that contain information about the
directories.public DescribeWorkspaceDirectoriesResult withDirectories(WorkspaceDirectory... directories)
An array of structures that contain information about the directories.
NOTE: This method appends the values to the existing list (if
any). Use setDirectories(java.util.Collection)
or
withDirectories(java.util.Collection)
if you want to override
the existing values.
directories
- An array of structures that contain information about the
directories.public DescribeWorkspaceDirectoriesResult withDirectories(Collection<WorkspaceDirectory> directories)
An array of structures that contain information about the directories.
directories
- An array of structures that contain information about the
directories.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 DescribeWorkspaceDirectoriesResult 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 DescribeWorkspaceDirectoriesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.