Interface GetLinkedWhatsAppBusinessAccountPhoneNumberResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<GetLinkedWhatsAppBusinessAccountPhoneNumberResponse.Builder,,- GetLinkedWhatsAppBusinessAccountPhoneNumberResponse> - SdkBuilder<GetLinkedWhatsAppBusinessAccountPhoneNumberResponse.Builder,,- GetLinkedWhatsAppBusinessAccountPhoneNumberResponse> - SdkPojo,- SdkResponse.Builder,- SocialMessagingResponse.Builder
- Enclosing class:
- GetLinkedWhatsAppBusinessAccountPhoneNumberResponse
@Mutable
@NotThreadSafe
public static interface GetLinkedWhatsAppBusinessAccountPhoneNumberResponse.Builder
extends SocialMessagingResponse.Builder, SdkPojo, CopyableBuilder<GetLinkedWhatsAppBusinessAccountPhoneNumberResponse.Builder,GetLinkedWhatsAppBusinessAccountPhoneNumberResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionlinkedWhatsAppBusinessAccountId(String linkedWhatsAppBusinessAccountId) The WABA identifier linked to the phone number, formatted aswaba-01234567890123456789012345678901.phoneNumber(Consumer<WhatsAppPhoneNumberDetail.Builder> phoneNumber) Sets the value of the PhoneNumber property for this object.phoneNumber(WhatsAppPhoneNumberDetail phoneNumber) Sets the value of the PhoneNumber property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.socialmessaging.model.SocialMessagingResponse.Builderbuild, responseMetadata, responseMetadata
- 
Method Details- 
phoneNumberGetLinkedWhatsAppBusinessAccountPhoneNumberResponse.Builder phoneNumber(WhatsAppPhoneNumberDetail phoneNumber) Sets the value of the PhoneNumber property for this object.- Parameters:
- phoneNumber- The new value for the PhoneNumber property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
phoneNumberdefault GetLinkedWhatsAppBusinessAccountPhoneNumberResponse.Builder phoneNumber(Consumer<WhatsAppPhoneNumberDetail.Builder> phoneNumber) Sets the value of the PhoneNumber property for this object. This is a convenience method that creates an instance of theWhatsAppPhoneNumberDetail.Builderavoiding the need to create one manually viaWhatsAppPhoneNumberDetail.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tophoneNumber(WhatsAppPhoneNumberDetail).- Parameters:
- phoneNumber- a consumer that will call methods on- WhatsAppPhoneNumberDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
linkedWhatsAppBusinessAccountIdGetLinkedWhatsAppBusinessAccountPhoneNumberResponse.Builder linkedWhatsAppBusinessAccountId(String linkedWhatsAppBusinessAccountId) The WABA identifier linked to the phone number, formatted as waba-01234567890123456789012345678901.- Parameters:
- linkedWhatsAppBusinessAccountId- The WABA identifier linked to the phone number, formatted as- waba-01234567890123456789012345678901.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-