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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetContactResponse.Buildercontact(Consumer<Contact.Builder> contact)The details of the requested contact.GetContactResponse.Buildercontact(Contact 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 Detail
-
contact
GetContactResponse.Builder contact(Contact 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
default GetContactResponse.Builder contact(Consumer<Contact.Builder> 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:
contact(Contact)
-
-