public static interface DescribeDirectoriesResponse.Builder extends DirectoryResponse.Builder, CopyableBuilder<DescribeDirectoriesResponse.Builder,DescribeDirectoriesResponse>
Modifier and Type | Method and Description |
---|---|
DescribeDirectoriesResponse.Builder |
directoryDescriptions(Collection<DirectoryDescription> directoryDescriptions)
The list of DirectoryDescription objects that were retrieved.
|
DescribeDirectoriesResponse.Builder |
directoryDescriptions(Consumer<DirectoryDescription.Builder>... directoryDescriptions)
The list of DirectoryDescription objects that were retrieved.
|
DescribeDirectoriesResponse.Builder |
directoryDescriptions(DirectoryDescription... directoryDescriptions)
The list of DirectoryDescription objects that were retrieved.
|
DescribeDirectoriesResponse.Builder |
nextToken(String nextToken)
If not null, more results are available.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeDirectoriesResponse.Builder directoryDescriptions(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.
DescribeDirectoriesResponse.Builder directoryDescriptions(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.
DescribeDirectoriesResponse.Builder directoryDescriptions(Consumer<DirectoryDescription.Builder>... 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.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #directoryDescriptions(List)
.directoryDescriptions
- a consumer that will call methods on List.Builder
#directoryDescriptions(List)
DescribeDirectoriesResponse.Builder nextToken(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.