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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPromptsResponse.BuildernextToken(String nextToken)If there are additional results, this is the token for the next set of results.ListPromptsResponse.BuilderpromptSummaryList(Collection<PromptSummary> promptSummaryList)Information about the prompts.ListPromptsResponse.BuilderpromptSummaryList(Consumer<PromptSummary.Builder>... promptSummaryList)Information about the prompts.ListPromptsResponse.BuilderpromptSummaryList(PromptSummary... promptSummaryList)Information about the prompts.-
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
-
promptSummaryList
ListPromptsResponse.Builder promptSummaryList(Collection<PromptSummary> 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
ListPromptsResponse.Builder promptSummaryList(PromptSummary... 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
ListPromptsResponse.Builder promptSummaryList(Consumer<PromptSummary.Builder>... 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 to#promptSummaryList(List.) - 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:
#promptSummaryList(java.util.Collection)
-
nextToken
ListPromptsResponse.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.
-
-