CopyableBuilder<DescribeDirectoriesRequest.Builder,DescribeDirectoriesRequest>
, SdkBuilder<DescribeDirectoriesRequest.Builder,DescribeDirectoriesRequest>
public static interface DescribeDirectoriesRequest.Builder extends CopyableBuilder<DescribeDirectoriesRequest.Builder,DescribeDirectoriesRequest>
Modifier and Type | Method | Description |
---|---|---|
DescribeDirectoriesRequest.Builder |
directoryIds(String... directoryIds) |
A list of identifiers of the directories for which to obtain the information.
|
DescribeDirectoriesRequest.Builder |
directoryIds(Collection<String> directoryIds) |
A list of identifiers of the directories for which to obtain the information.
|
DescribeDirectoriesRequest.Builder |
limit(Integer limit) |
The maximum number of items to return.
|
DescribeDirectoriesRequest.Builder |
nextToken(String nextToken) |
The DescribeDirectoriesResult.NextToken value from a previous call to DescribeDirectories.
|
copy
apply, build
DescribeDirectoriesRequest.Builder directoryIds(Collection<String> directoryIds)
A list of identifiers of the directories for which to obtain the information. If this member is null, all directories that belong to the current account are returned.
An empty list results in an InvalidParameterException
being thrown.
directoryIds
- A list of identifiers of the directories for which to obtain the information. If this member is null,
all directories that belong to the current account are returned.
An empty list results in an InvalidParameterException
being thrown.
DescribeDirectoriesRequest.Builder directoryIds(String... directoryIds)
A list of identifiers of the directories for which to obtain the information. If this member is null, all directories that belong to the current account are returned.
An empty list results in an InvalidParameterException
being thrown.
NOTE: This method appends the values to the existing list (if any). Use
#setDirectoryIds(java.util.Collection)
or #withDirectoryIds(java.util.Collection)
if you want
to override the existing values.
directoryIds
- A list of identifiers of the directories for which to obtain the information. If this member is null,
all directories that belong to the current account are returned.
An empty list results in an InvalidParameterException
being thrown.
DescribeDirectoriesRequest.Builder nextToken(String nextToken)
The DescribeDirectoriesResult.NextToken value from a previous call to DescribeDirectories. Pass null if this is the first call.
nextToken
- The DescribeDirectoriesResult.NextToken value from a previous call to
DescribeDirectories. Pass null if this is the first call.DescribeDirectoriesRequest.Builder limit(Integer limit)
The maximum number of items to return. If this value is zero, the maximum number of items is specified by the limitations of the operation.
limit
- The maximum number of items to return. If this value is zero, the maximum number of items is specified
by the limitations of the operation.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.