Interface ListAiPromptVersionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListAiPromptVersionsRequest.Builder,ListAiPromptVersionsRequest>,QConnectRequest.Builder,SdkBuilder<ListAiPromptVersionsRequest.Builder,ListAiPromptVersionsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListAiPromptVersionsRequest
public static interface ListAiPromptVersionsRequest.Builder extends QConnectRequest.Builder, SdkPojo, CopyableBuilder<ListAiPromptVersionsRequest.Builder,ListAiPromptVersionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAiPromptVersionsRequest.BuilderaiPromptId(String aiPromptId)The identifier of the Amazon Q in Connect AI prompt for which versions are to be listed.ListAiPromptVersionsRequest.BuilderassistantId(String assistantId)The identifier of the Amazon Q in Connect assistant.ListAiPromptVersionsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return per page.ListAiPromptVersionsRequest.BuildernextToken(String nextToken)The token for the next set of results.ListAiPromptVersionsRequest.Builderorigin(String origin)The origin of the AI Prompt versions to be listed.ListAiPromptVersionsRequest.Builderorigin(Origin origin)The origin of the AI Prompt versions to be listed.ListAiPromptVersionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListAiPromptVersionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
aiPromptId
ListAiPromptVersionsRequest.Builder aiPromptId(String aiPromptId)
The identifier of the Amazon Q in Connect AI prompt for which versions are to be listed.
- Parameters:
aiPromptId- The identifier of the Amazon Q in Connect AI prompt for which versions are to be listed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assistantId
ListAiPromptVersionsRequest.Builder assistantId(String assistantId)
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
assistantId- The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListAiPromptVersionsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return per page.
- Parameters:
maxResults- The maximum number of results to return per page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListAiPromptVersionsRequest.Builder nextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Parameters:
nextToken- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
origin
ListAiPromptVersionsRequest.Builder origin(String origin)
The origin of the AI Prompt versions to be listed.
SYSTEMfor a default AI Agent created by Q in Connect orCUSTOMERfor an AI Agent created by calling AI Agent creation APIs.- Parameters:
origin- The origin of the AI Prompt versions to be listed.SYSTEMfor a default AI Agent created by Q in Connect orCUSTOMERfor an AI Agent created by calling AI Agent creation APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Origin,Origin
-
origin
ListAiPromptVersionsRequest.Builder origin(Origin origin)
The origin of the AI Prompt versions to be listed.
SYSTEMfor a default AI Agent created by Q in Connect orCUSTOMERfor an AI Agent created by calling AI Agent creation APIs.- Parameters:
origin- The origin of the AI Prompt versions to be listed.SYSTEMfor a default AI Agent created by Q in Connect orCUSTOMERfor an AI Agent created by calling AI Agent creation APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
Origin,Origin
-
overrideConfiguration
ListAiPromptVersionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListAiPromptVersionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-