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.Buildercontact(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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaContact.builder().When the
Consumercompletes,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:
-