public static interface GetAddressBookResponse.Builder extends AlexaForBusinessResponse.Builder, SdkPojo, CopyableBuilder<GetAddressBookResponse.Builder,GetAddressBookResponse>
Modifier and Type | Method and Description |
---|---|
GetAddressBookResponse.Builder |
addressBook(AddressBook addressBook)
The details of the requested address book.
|
default GetAddressBookResponse.Builder |
addressBook(Consumer<AddressBook.Builder> addressBook)
The details of the requested address book.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetAddressBookResponse.Builder addressBook(AddressBook addressBook)
The details of the requested address book.
addressBook
- The details of the requested address book.default GetAddressBookResponse.Builder addressBook(Consumer<AddressBook.Builder> addressBook)
The details of the requested address book.
This is a convenience that creates an instance of theAddressBook.Builder
avoiding the need to create
one manually via AddressBook.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to addressBook(AddressBook)
.addressBook
- a consumer that will call methods on AddressBook.Builder
addressBook(AddressBook)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.