Class DescribeWorkspaceDirectoriesResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the results of the DescribeWorkspaceDirectories operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
An array of structures that contain information about the directories.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.toString()
Returns a string representation of this object; useful for testing and debugging.withDirectories
(WorkspaceDirectory... directories) An array of structures that contain information about the directories.withDirectories
(Collection<WorkspaceDirectory> directories) An array of structures that contain information about the directories.withNextToken
(String nextToken) If not null, more results are available.
-
Constructor Details
-
DescribeWorkspaceDirectoriesResult
public DescribeWorkspaceDirectoriesResult()
-
-
Method Details
-
getDirectories
An array of structures that contain information about the directories.
- Returns:
- An array of structures that contain information about the directories.
-
setDirectories
An array of structures that contain information about the directories.
- Parameters:
directories
- An array of structures that contain information about the directories.
-
withDirectories
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)
orwithDirectories(java.util.Collection)
if you want to override the existing values.- Parameters:
directories
- An array of structures that contain information about the directories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDirectories
public DescribeWorkspaceDirectoriesResult withDirectories(Collection<WorkspaceDirectory> directories) An array of structures that contain information about the directories.
- Parameters:
directories
- An array of structures that contain information about the directories.- 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
-