Class DescribeDirectoriesResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the results of the DescribeDirectories operation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The list of DirectoryDescription objects that were retrieved.If not null, more results are available.int
hashCode()
void
setDirectoryDescriptions
(Collection<DirectoryDescription> directoryDescriptions) The list of DirectoryDescription objects that were retrieved.void
setNextToken
(String nextToken) If not null, more results are available.toString()
Returns a string representation of this object; useful for testing and debugging.withDirectoryDescriptions
(DirectoryDescription... directoryDescriptions) The list of DirectoryDescription objects that were retrieved.withDirectoryDescriptions
(Collection<DirectoryDescription> directoryDescriptions) The list of DirectoryDescription objects that were retrieved.withNextToken
(String nextToken) If not null, more results are available.
-
Constructor Details
-
DescribeDirectoriesResult
public DescribeDirectoriesResult()
-
-
Method Details
-
getDirectoryDescriptions
The list of DirectoryDescription objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
- Returns:
- The list of DirectoryDescription objects that were
retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
-
setDirectoryDescriptions
The list of DirectoryDescription objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
- Parameters:
directoryDescriptions
- The list of DirectoryDescription objects that were retrieved.It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
-
withDirectoryDescriptions
public DescribeDirectoriesResult withDirectoryDescriptions(DirectoryDescription... directoryDescriptions) The list of DirectoryDescription objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
NOTE: This method appends the values to the existing list (if any). Use
setDirectoryDescriptions(java.util.Collection)
orwithDirectoryDescriptions(java.util.Collection)
if you want to override the existing values.- Parameters:
directoryDescriptions
- The list of DirectoryDescription objects that were retrieved.It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDirectoryDescriptions
public DescribeDirectoriesResult withDirectoryDescriptions(Collection<DirectoryDescription> directoryDescriptions) The list of DirectoryDescription objects that were retrieved.
It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
- Parameters:
directoryDescriptions
- The list of DirectoryDescription objects that were retrieved.It is possible that this list contains less than the number of items specified in the Limit member of the request. This occurs if there are less than the requested number of items left to retrieve, or if the limitations of the operation have been exceeded.
- 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 DescribeDirectories to retrieve the next set of items.
- Parameters:
nextToken
- If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeDirectories to retrieve the next set of items.
-
getNextToken
If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeDirectories to retrieve the next set of items.
- Returns:
- If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeDirectories to retrieve the next set of items.
-
withNextToken
If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeDirectories to retrieve the next set of items.
- Parameters:
nextToken
- If not null, more results are available. Pass this value for the NextToken parameter in a subsequent call to DescribeDirectories to retrieve the next set of items.- 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
-