Interface ListPromptsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<ListPromptsResponse.Builder,,ListPromptsResponse> SdkBuilder<ListPromptsResponse.Builder,,ListPromptsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPromptsResponse
public static interface ListPromptsResponse.Builder
extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<ListPromptsResponse.Builder,ListPromptsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf there are additional results, this is the token for the next set of results.promptSummaryList(Collection<PromptSummary> promptSummaryList) Information about the prompts.promptSummaryList(Consumer<PromptSummary.Builder>... promptSummaryList) Information about the prompts.promptSummaryList(PromptSummary... promptSummaryList) Information about the prompts.Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
promptSummaryList
Information about the prompts.
- Parameters:
promptSummaryList- Information about the prompts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
promptSummaryList
Information about the prompts.
- Parameters:
promptSummaryList- Information about the prompts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
promptSummaryList
Information about the prompts.
This is a convenience method that creates an instance of thePromptSummary.Builderavoiding the need to create one manually viaPromptSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topromptSummaryList(List<PromptSummary>).- Parameters:
promptSummaryList- a consumer that will call methods onPromptSummary.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.
-