@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDirectoriesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the results of the DescribeDirectories operation.
Constructor and Description |
---|
DescribeDirectoriesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDirectoriesResult |
clone() |
boolean |
equals(Object obj) |
List<DirectoryDescription> |
getDirectoryDescriptions()
The list of DirectoryDescription objects that were retrieved.
|
String |
getNextToken()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeDirectoriesResult |
withDirectoryDescriptions(Collection<DirectoryDescription> directoryDescriptions)
The list of DirectoryDescription objects that were retrieved.
|
DescribeDirectoriesResult |
withDirectoryDescriptions(DirectoryDescription... directoryDescriptions)
The list of DirectoryDescription objects that were retrieved.
|
DescribeDirectoriesResult |
withNextToken(String nextToken)
If not null, more results are available.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DirectoryDescription> 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.
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.
public void setDirectoryDescriptions(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.
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.
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)
or
withDirectoryDescriptions(java.util.Collection)
if you want to override the existing values.
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.
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.
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.
public void setNextToken(String 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.
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.public String 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.
public DescribeDirectoriesResult withNextToken(String 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.
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.public String toString()
toString
in class Object
Object.toString()
public DescribeDirectoriesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.