Interface GetContactResponse.Builder
- All Superinterfaces:
AlexaForBusinessResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetContactResponse.Builder,
,GetContactResponse> SdkBuilder<GetContactResponse.Builder,
,GetContactResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetContactResponse
public static interface GetContactResponse.Builder
extends AlexaForBusinessResponse.Builder, SdkPojo, CopyableBuilder<GetContactResponse.Builder,GetContactResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetContactResponse.Builder
contact
(Consumer<Contact.Builder> contact) The details of the requested contact.The details of the requested contact.Methods inherited from interface software.amazon.awssdk.services.alexaforbusiness.model.AlexaForBusinessResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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 Details
-
contact
The details of the requested contact.
- Parameters:
contact
- The details of the requested contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contact
The details of the requested contact.
This is a convenience method that creates an instance of theContact.Builder
avoiding the need to create one manually viaContact.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontact(Contact)
.- Parameters:
contact
- a consumer that will call methods onContact.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-