Interface AssociateWhatsAppBusinessAccountResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AssociateWhatsAppBusinessAccountResponse.Builder,
,AssociateWhatsAppBusinessAccountResponse> SdkBuilder<AssociateWhatsAppBusinessAccountResponse.Builder,
,AssociateWhatsAppBusinessAccountResponse> SdkPojo
,SdkResponse.Builder
,SocialMessagingResponse.Builder
- Enclosing class:
AssociateWhatsAppBusinessAccountResponse
@Mutable
@NotThreadSafe
public static interface AssociateWhatsAppBusinessAccountResponse.Builder
extends SocialMessagingResponse.Builder, SdkPojo, CopyableBuilder<AssociateWhatsAppBusinessAccountResponse.Builder,AssociateWhatsAppBusinessAccountResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsignupCallbackResult
(Consumer<WhatsAppSignupCallbackResult.Builder> signupCallbackResult) Contains your WhatsApp registration status.signupCallbackResult
(WhatsAppSignupCallbackResult signupCallbackResult) Contains your WhatsApp registration status.statusCode
(Integer statusCodeValue) The status code for the response.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.socialmessaging.model.SocialMessagingResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
signupCallbackResult
AssociateWhatsAppBusinessAccountResponse.Builder signupCallbackResult(WhatsAppSignupCallbackResult signupCallbackResult) Contains your WhatsApp registration status.
- Parameters:
signupCallbackResult
- Contains your WhatsApp registration status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
signupCallbackResult
default AssociateWhatsAppBusinessAccountResponse.Builder signupCallbackResult(Consumer<WhatsAppSignupCallbackResult.Builder> signupCallbackResult) Contains your WhatsApp registration status.
This is a convenience method that creates an instance of theWhatsAppSignupCallbackResult.Builder
avoiding the need to create one manually viaWhatsAppSignupCallbackResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosignupCallbackResult(WhatsAppSignupCallbackResult)
.- Parameters:
signupCallbackResult
- a consumer that will call methods onWhatsAppSignupCallbackResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusCode
The status code for the response.
- Parameters:
statusCodeValue
- The status code for the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-