Interface GetWhatsAppFlowPreviewRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetWhatsAppFlowPreviewRequest.Builder,,GetWhatsAppFlowPreviewRequest> SdkBuilder<GetWhatsAppFlowPreviewRequest.Builder,,GetWhatsAppFlowPreviewRequest> SdkPojo,SdkRequest.Builder,SocialMessagingRequest.Builder
- Enclosing class:
GetWhatsAppFlowPreviewRequest
@Mutable
@NotThreadSafe
public static interface GetWhatsAppFlowPreviewRequest.Builder
extends SocialMessagingRequest.Builder, SdkPojo, CopyableBuilder<GetWhatsAppFlowPreviewRequest.Builder,GetWhatsAppFlowPreviewRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the Flow to preview.The ID of the WhatsApp Business Account associated with this Flow.invalidate(Boolean invalidate) Set totrueto force generation of a new preview URL.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.socialmessaging.model.SocialMessagingRequest.Builder
build
-
Method Details
-
id
The ID of the WhatsApp Business Account associated with this Flow.
- Parameters:
id- The ID of the WhatsApp Business Account associated with this Flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowId
The unique identifier of the Flow to preview.
- Parameters:
flowId- The unique identifier of the Flow to preview.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invalidate
Set to
trueto force generation of a new preview URL. Use this if the previous URL has been compromised or you want a fresh expiration period.- Parameters:
invalidate- Set totrueto force generation of a new preview URL. Use this if the previous URL has been compromised or you want a fresh expiration period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetWhatsAppFlowPreviewRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetWhatsAppFlowPreviewRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-