public static interface AcceptSharedDirectoryResponse.Builder extends DirectoryResponse.Builder, SdkPojo, CopyableBuilder<AcceptSharedDirectoryResponse.Builder,AcceptSharedDirectoryResponse>
Modifier and Type | Method and Description |
---|---|
default AcceptSharedDirectoryResponse.Builder |
sharedDirectory(Consumer<SharedDirectory.Builder> sharedDirectory)
The shared directory in the directory consumer account.
|
AcceptSharedDirectoryResponse.Builder |
sharedDirectory(SharedDirectory sharedDirectory)
The shared directory in the directory consumer account.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
AcceptSharedDirectoryResponse.Builder sharedDirectory(SharedDirectory sharedDirectory)
The shared directory in the directory consumer account.
sharedDirectory
- The shared directory in the directory consumer account.default AcceptSharedDirectoryResponse.Builder sharedDirectory(Consumer<SharedDirectory.Builder> sharedDirectory)
The shared directory in the directory consumer account.
This is a convenience that creates an instance of theSharedDirectory.Builder
avoiding the need to
create one manually via SharedDirectory.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to sharedDirectory(SharedDirectory)
.sharedDirectory
- a consumer that will call methods on SharedDirectory.Builder
sharedDirectory(SharedDirectory)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.