public static interface ListDirectoriesResponse.Builder extends CloudDirectoryResponse.Builder, CopyableBuilder<ListDirectoriesResponse.Builder,ListDirectoriesResponse>
Modifier and Type | Method and Description |
---|---|
ListDirectoriesResponse.Builder |
directories(Collection<Directory> directories)
Lists all directories that are associated with your account in pagination fashion.
|
ListDirectoriesResponse.Builder |
directories(Consumer<Directory.Builder>... directories)
Lists all directories that are associated with your account in pagination fashion.
|
ListDirectoriesResponse.Builder |
directories(Directory... directories)
Lists all directories that are associated with your account in pagination fashion.
|
ListDirectoriesResponse.Builder |
nextToken(String nextToken)
The pagination token.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListDirectoriesResponse.Builder directories(Collection<Directory> directories)
Lists all directories that are associated with your account in pagination fashion.
directories
- Lists all directories that are associated with your account in pagination fashion.ListDirectoriesResponse.Builder directories(Directory... directories)
Lists all directories that are associated with your account in pagination fashion.
directories
- Lists all directories that are associated with your account in pagination fashion.ListDirectoriesResponse.Builder directories(Consumer<Directory.Builder>... directories)
Lists all directories that are associated with your account in pagination fashion.
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 #directories(List)
.directories
- a consumer that will call methods on List.Builder
#directories(List)
ListDirectoriesResponse.Builder nextToken(String nextToken)
The pagination token.
nextToken
- The pagination token.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.