Interface DescribeDirectoriesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeDirectoriesRequest.Builder,,DescribeDirectoriesRequest> DirectoryRequest.Builder,SdkBuilder<DescribeDirectoriesRequest.Builder,,DescribeDirectoriesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeDirectoriesRequest
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryIds(String... directoryIds) A list of identifiers of the directories for which to obtain the information.directoryIds(Collection<String> directoryIds) A list of identifiers of the directories for which to obtain the information.The maximum number of items to return.TheDescribeDirectoriesResult.NextTokenvalue from a previous call to DescribeDirectories.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
InvalidParameterExceptionbeing thrown.- Parameters:
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
InvalidParameterExceptionbeing thrown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
InvalidParameterExceptionbeing thrown.- Parameters:
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
InvalidParameterExceptionbeing thrown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The
DescribeDirectoriesResult.NextTokenvalue from a previous call to DescribeDirectories. Pass null if this is the first call.- Parameters:
nextToken- TheDescribeDirectoriesResult.NextTokenvalue from a previous call to DescribeDirectories. Pass null if this is the first call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeDirectoriesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DescribeDirectoriesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-