Interface GetWhatsAppFlowResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetWhatsAppFlowResponse.Builder,,GetWhatsAppFlowResponse> SdkBuilder<GetWhatsAppFlowResponse.Builder,,GetWhatsAppFlowResponse> SdkPojo,SdkResponse.Builder,SocialMessagingResponse.Builder
- Enclosing class:
GetWhatsAppFlowResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetWhatsAppFlowResponse.Builderapplication(Consumer<MetaFlowApplicationInfo.Builder> application) The Meta application information associated with this Flow.application(MetaFlowApplicationInfo application) The Meta application information associated with this Flow.categories(Collection<MetaFlowCategory> categories) The categories that classify the business purpose of the Flow.categories(MetaFlowCategory... categories) The categories that classify the business purpose of the Flow.categoriesWithStrings(String... categories) The categories that classify the business purpose of the Flow.categoriesWithStrings(Collection<String> categories) The categories that classify the business purpose of the Flow.dataApiVersion(String dataApiVersion) The data API version for data exchange endpoint Flows.endpointUri(String endpointUri) The endpoint URI for data exchange Flows, if configured.The unique identifier of the Flow.The name of the Flow.flowStatus(String flowStatus) The lifecycle status of the Flow.default GetWhatsAppFlowResponse.BuilderhealthStatus(Consumer<MetaFlowHealthStatus.Builder> healthStatus) The health status information for this Flow from Meta.healthStatus(MetaFlowHealthStatus healthStatus) The health status information for this Flow from Meta.jsonVersion(String jsonVersion) The version of the Flow JSON schema used by this Flow (for example, 7.3).default GetWhatsAppFlowResponse.Builderpreview(Consumer<MetaFlowPreviewInfo.Builder> preview) The preview URL and its expiration timestamp for testing the Flow.preview(MetaFlowPreviewInfo preview) The preview URL and its expiration timestamp for testing the Flow.validationErrors(String... validationErrors) A list of validation errors from Meta, if any.validationErrors(Collection<String> validationErrors) A list of validation errors from Meta, if any.default GetWhatsAppFlowResponse.BuilderwhatsAppBusinessAccount(Consumer<MetaFlowWhatsAppBusinessAccountInfo.Builder> whatsAppBusinessAccount) The WhatsApp Business Account information from Meta associated with this Flow.whatsAppBusinessAccount(MetaFlowWhatsAppBusinessAccountInfo whatsAppBusinessAccount) The WhatsApp Business Account information from Meta associated with this Flow.Methods 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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.socialmessaging.model.SocialMessagingResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
flowId
The unique identifier of the Flow.
- Parameters:
flowId- The unique identifier of the Flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowName
The name of the Flow.
- Parameters:
flowName- The name of the Flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowStatus
The lifecycle status of the Flow. Valid values are DRAFT, PUBLISHED, DEPRECATED, BLOCKED, and THROTTLED.
- Parameters:
flowStatus- The lifecycle status of the Flow. Valid values are DRAFT, PUBLISHED, DEPRECATED, BLOCKED, and THROTTLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categoriesWithStrings
The categories that classify the business purpose of the Flow.
- Parameters:
categories- The categories that classify the business purpose of the Flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categoriesWithStrings
The categories that classify the business purpose of the Flow.
- Parameters:
categories- The categories that classify the business purpose of the Flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
The categories that classify the business purpose of the Flow.
- Parameters:
categories- The categories that classify the business purpose of the Flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
The categories that classify the business purpose of the Flow.
- Parameters:
categories- The categories that classify the business purpose of the Flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationErrors
A list of validation errors from Meta, if any.
- Parameters:
validationErrors- A list of validation errors from Meta, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationErrors
A list of validation errors from Meta, if any.
- Parameters:
validationErrors- A list of validation errors from Meta, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jsonVersion
The version of the Flow JSON schema used by this Flow (for example, 7.3).
- Parameters:
jsonVersion- The version of the Flow JSON schema used by this Flow (for example, 7.3).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataApiVersion
The data API version for data exchange endpoint Flows.
- Parameters:
dataApiVersion- The data API version for data exchange endpoint Flows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointUri
The endpoint URI for data exchange Flows, if configured.
- Parameters:
endpointUri- The endpoint URI for data exchange Flows, if configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preview
The preview URL and its expiration timestamp for testing the Flow.
- Parameters:
preview- The preview URL and its expiration timestamp for testing the Flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preview
The preview URL and its expiration timestamp for testing the Flow.
This is a convenience method that creates an instance of theMetaFlowPreviewInfo.Builderavoiding the need to create one manually viaMetaFlowPreviewInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topreview(MetaFlowPreviewInfo).- Parameters:
preview- a consumer that will call methods onMetaFlowPreviewInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
whatsAppBusinessAccount
GetWhatsAppFlowResponse.Builder whatsAppBusinessAccount(MetaFlowWhatsAppBusinessAccountInfo whatsAppBusinessAccount) The WhatsApp Business Account information from Meta associated with this Flow.
- Parameters:
whatsAppBusinessAccount- The WhatsApp Business Account information from Meta associated with this Flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatsAppBusinessAccount
default GetWhatsAppFlowResponse.Builder whatsAppBusinessAccount(Consumer<MetaFlowWhatsAppBusinessAccountInfo.Builder> whatsAppBusinessAccount) The WhatsApp Business Account information from Meta associated with this Flow.
This is a convenience method that creates an instance of theMetaFlowWhatsAppBusinessAccountInfo.Builderavoiding the need to create one manually viaMetaFlowWhatsAppBusinessAccountInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towhatsAppBusinessAccount(MetaFlowWhatsAppBusinessAccountInfo).- Parameters:
whatsAppBusinessAccount- a consumer that will call methods onMetaFlowWhatsAppBusinessAccountInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
application
The Meta application information associated with this Flow.
- Parameters:
application- The Meta application information associated with this Flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
application
default GetWhatsAppFlowResponse.Builder application(Consumer<MetaFlowApplicationInfo.Builder> application) The Meta application information associated with this Flow.
This is a convenience method that creates an instance of theMetaFlowApplicationInfo.Builderavoiding the need to create one manually viaMetaFlowApplicationInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapplication(MetaFlowApplicationInfo).- Parameters:
application- a consumer that will call methods onMetaFlowApplicationInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
healthStatus
The health status information for this Flow from Meta.
- Parameters:
healthStatus- The health status information for this Flow from Meta.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
healthStatus
default GetWhatsAppFlowResponse.Builder healthStatus(Consumer<MetaFlowHealthStatus.Builder> healthStatus) The health status information for this Flow from Meta.
This is a convenience method that creates an instance of theMetaFlowHealthStatus.Builderavoiding the need to create one manually viaMetaFlowHealthStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohealthStatus(MetaFlowHealthStatus).- Parameters:
healthStatus- a consumer that will call methods onMetaFlowHealthStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-