Interface CreateAiPromptVersionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAiPromptVersionRequest.Builder,CreateAiPromptVersionRequest>,QConnectRequest.Builder,SdkBuilder<CreateAiPromptVersionRequest.Builder,CreateAiPromptVersionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateAiPromptVersionRequest
public static interface CreateAiPromptVersionRequest.Builder extends QConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateAiPromptVersionRequest.Builder,CreateAiPromptVersionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateAiPromptVersionRequest.BuilderaiPromptId(String aiPromptId)The identifier of the Amazon Q in Connect AI prompt.CreateAiPromptVersionRequest.BuilderassistantId(String assistantId)The identifier of the Amazon Q in Connect assistant.CreateAiPromptVersionRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.CreateAiPromptVersionRequest.BuildermodifiedTime(Instant modifiedTime)The time the AI Prompt was last modified.CreateAiPromptVersionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateAiPromptVersionRequest.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
CreateAiPromptVersionRequest.Builder aiPromptId(String aiPromptId)
The identifier of the Amazon Q in Connect AI prompt.
- Parameters:
aiPromptId- The identifier of the Amazon Q in Connect AI prompt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assistantId
CreateAiPromptVersionRequest.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.
-
clientToken
CreateAiPromptVersionRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs..
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs..- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedTime
CreateAiPromptVersionRequest.Builder modifiedTime(Instant modifiedTime)
The time the AI Prompt was last modified.
- Parameters:
modifiedTime- The time the AI Prompt was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAiPromptVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateAiPromptVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-