Interface DescribeDirectoriesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDirectoriesResponse.Builder,DescribeDirectoriesResponse>,DirectoryResponse.Builder,SdkBuilder<DescribeDirectoriesResponse.Builder,DescribeDirectoriesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeDirectoriesResponse
public static interface DescribeDirectoriesResponse.Builder extends DirectoryResponse.Builder, SdkPojo, CopyableBuilder<DescribeDirectoriesResponse.Builder,DescribeDirectoriesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeDirectoriesResponse.BuilderdirectoryDescriptions(Collection<DirectoryDescription> directoryDescriptions)The list of DirectoryDescription objects that were retrieved.DescribeDirectoriesResponse.BuilderdirectoryDescriptions(Consumer<DirectoryDescription.Builder>... directoryDescriptions)The list of DirectoryDescription objects that were retrieved.DescribeDirectoriesResponse.BuilderdirectoryDescriptions(DirectoryDescription... directoryDescriptions)The list of DirectoryDescription objects that were retrieved.DescribeDirectoriesResponse.BuildernextToken(String nextToken)If not null, more results are available.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
directoryDescriptions
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
Limitmember 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
Limitmember 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.
-
directoryDescriptions
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
Limitmember 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
Limitmember 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.
-
directoryDescriptions
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
This is a convenience method that creates an instance of theLimitmember 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.DirectoryDescription.Builderavoiding the need to create one manually viaDirectoryDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#directoryDescriptions(List.) - Parameters:
directoryDescriptions- a consumer that will call methods onDirectoryDescription.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#directoryDescriptions(java.util.Collection)
-
nextToken
DescribeDirectoriesResponse.Builder nextToken(String nextToken)
If not null, more results are available. Pass this value for the
NextTokenparameter 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 theNextTokenparameter 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.
-
-