Interface CreateChatResponseConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateChatResponseConfigurationRequest.Builder,,CreateChatResponseConfigurationRequest> QBusinessRequest.Builder,SdkBuilder<CreateChatResponseConfigurationRequest.Builder,,CreateChatResponseConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateChatResponseConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The unique identifier of the Amazon Q Business application for which to create the new chat response configuration.clientToken(String clientToken) A unique, case-sensitive identifier to ensure idempotency of the request.displayName(String displayName) A human-readable name for the new chat response configuration, making it easier to identify and manage among multiple configurations.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.responseConfigurations(Map<ResponseConfigurationType, ResponseConfiguration> responseConfigurations) A collection of response configuration settings that define how Amazon Q Business will generate and format responses to user queries in chat interactions.responseConfigurationsWithStrings(Map<String, ResponseConfiguration> responseConfigurations) A collection of response configuration settings that define how Amazon Q Business will generate and format responses to user queries in chat interactions.tags(Collection<Tag> tags) A list of key-value pairs to apply as tags to the new chat response configuration, enabling categorization and management of resources across Amazon Web Services services.tags(Consumer<Tag.Builder>... tags) A list of key-value pairs to apply as tags to the new chat response configuration, enabling categorization and management of resources across Amazon Web Services services.A list of key-value pairs to apply as tags to the new chat response configuration, enabling categorization and management of resources across Amazon Web Services services.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
applicationId
The unique identifier of the Amazon Q Business application for which to create the new chat response configuration.
- Parameters:
applicationId- The unique identifier of the Amazon Q Business application for which to create the new chat response configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
A human-readable name for the new chat response configuration, making it easier to identify and manage among multiple configurations.
- Parameters:
displayName- A human-readable name for the new chat response configuration, making it easier to identify and manage among multiple configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier to ensure idempotency of the request. This helps prevent the same configuration from being created multiple times if retries occur.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure idempotency of the request. This helps prevent the same configuration from being created multiple times if retries occur.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseConfigurationsWithStrings
CreateChatResponseConfigurationRequest.Builder responseConfigurationsWithStrings(Map<String, ResponseConfiguration> responseConfigurations) A collection of response configuration settings that define how Amazon Q Business will generate and format responses to user queries in chat interactions.
- Parameters:
responseConfigurations- A collection of response configuration settings that define how Amazon Q Business will generate and format responses to user queries in chat interactions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseConfigurations
CreateChatResponseConfigurationRequest.Builder responseConfigurations(Map<ResponseConfigurationType, ResponseConfiguration> responseConfigurations) A collection of response configuration settings that define how Amazon Q Business will generate and format responses to user queries in chat interactions.
- Parameters:
responseConfigurations- A collection of response configuration settings that define how Amazon Q Business will generate and format responses to user queries in chat interactions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of key-value pairs to apply as tags to the new chat response configuration, enabling categorization and management of resources across Amazon Web Services services.
- Parameters:
tags- A list of key-value pairs to apply as tags to the new chat response configuration, enabling categorization and management of resources across Amazon Web Services services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of key-value pairs to apply as tags to the new chat response configuration, enabling categorization and management of resources across Amazon Web Services services.
- Parameters:
tags- A list of key-value pairs to apply as tags to the new chat response configuration, enabling categorization and management of resources across Amazon Web Services services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of key-value pairs to apply as tags to the new chat response configuration, enabling categorization and management of resources across Amazon Web Services services.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateChatResponseConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateChatResponseConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-