Interface ListWhatsAppFlowsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWhatsAppFlowsResponse.Builder,,ListWhatsAppFlowsResponse> SdkBuilder<ListWhatsAppFlowsResponse.Builder,,ListWhatsAppFlowsResponse> SdkPojo,SdkResponse.Builder,SocialMessagingResponse.Builder
- Enclosing class:
ListWhatsAppFlowsResponse
@Mutable
@NotThreadSafe
public static interface ListWhatsAppFlowsResponse.Builder
extends SocialMessagingResponse.Builder, SdkPojo, CopyableBuilder<ListWhatsAppFlowsResponse.Builder,ListWhatsAppFlowsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionflows(Collection<MetaFlowSummary> flows) A list of Flow summaries.flows(Consumer<MetaFlowSummary.Builder>... flows) A list of Flow summaries.flows(MetaFlowSummary... flows) A list of Flow summaries.The token to retrieve the next page of results, if any.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
-
flows
A list of Flow summaries.
- Parameters:
flows- A list of Flow summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flows
A list of Flow summaries.
- Parameters:
flows- A list of Flow summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flows
A list of Flow summaries.
This is a convenience method that creates an instance of theMetaFlowSummary.Builderavoiding the need to create one manually viaMetaFlowSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toflows(List<MetaFlowSummary>).- Parameters:
flows- a consumer that will call methods onMetaFlowSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to retrieve the next page of results, if any.
- Parameters:
nextToken- The token to retrieve the next page of results, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-