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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchContactFlowsResponse.BuilderapproximateTotalCount(Long approximateTotalCount)The total number of contact flows which matched your search query.SearchContactFlowsResponse.BuildercontactFlows(Collection<ContactFlow> contactFlows)Information about the flows.SearchContactFlowsResponse.BuildercontactFlows(Consumer<ContactFlow.Builder>... contactFlows)Information about the flows.SearchContactFlowsResponse.BuildercontactFlows(ContactFlow... contactFlows)Information about the flows.SearchContactFlowsResponse.BuildernextToken(String nextToken)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 Detail
-
contactFlows
SearchContactFlowsResponse.Builder contactFlows(Collection<ContactFlow> contactFlows)
Information about the flows.
- Parameters:
contactFlows- Information about the flows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactFlows
SearchContactFlowsResponse.Builder contactFlows(ContactFlow... contactFlows)
Information about the flows.
- Parameters:
contactFlows- Information about the flows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactFlows
SearchContactFlowsResponse.Builder contactFlows(Consumer<ContactFlow.Builder>... contactFlows)
Information about the flows.
This is a convenience method that creates an instance of theContactFlow.Builderavoiding the need to create one manually viaContactFlow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#contactFlows(List.) - 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:
#contactFlows(java.util.Collection)
-
nextToken
SearchContactFlowsResponse.Builder nextToken(String 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
SearchContactFlowsResponse.Builder approximateTotalCount(Long 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.
-
-