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