Interface SearchContactFlowsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ConnectResponse.Builder
,CopyableBuilder<SearchContactFlowsResponse.Builder,
,SearchContactFlowsResponse> SdkBuilder<SearchContactFlowsResponse.Builder,
,SearchContactFlowsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchContactFlowsResponse
public static interface SearchContactFlowsResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<SearchContactFlowsResponse.Builder,SearchContactFlowsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapproximateTotalCount
(Long approximateTotalCount) The total number of contact flows which matched your search query.contactFlows
(Collection<ContactFlow> contactFlows) Information about the contact flows.contactFlows
(Consumer<ContactFlow.Builder>... contactFlows) Information about the contact flows.contactFlows
(ContactFlow... contactFlows) Information about the contact flows.If there are additional results, this is the token for the next set of results.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
contactFlows
Information about the contact flows.
- Parameters:
contactFlows
- Information about the contact flows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactFlows
Information about the contact flows.
- Parameters:
contactFlows
- Information about the contact flows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactFlows
Information about the contact flows.
This is a convenience method that creates an instance of theContactFlow.Builder
avoiding the need to create one manually viaContactFlow.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontactFlows(List<ContactFlow>)
.- Parameters:
contactFlows
- a consumer that will call methods onContactFlow.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken
- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approximateTotalCount
The total number of contact flows which matched your search query.
- Parameters:
approximateTotalCount
- The total number of contact flows which matched your search query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-