Interface AIAgentConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AIAgentConfiguration.Builder,
,AIAgentConfiguration> SdkBuilder<AIAgentConfiguration.Builder,
,AIAgentConfiguration> SdkPojo
- Enclosing class:
AIAgentConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault AIAgentConfiguration.Builder
answerRecommendationAIAgentConfiguration
(Consumer<AnswerRecommendationAIAgentConfiguration.Builder> answerRecommendationAIAgentConfiguration) The configuration for AI Agents of typeANSWER_RECOMMENDATION
.answerRecommendationAIAgentConfiguration
(AnswerRecommendationAIAgentConfiguration answerRecommendationAIAgentConfiguration) The configuration for AI Agents of typeANSWER_RECOMMENDATION
.default AIAgentConfiguration.Builder
manualSearchAIAgentConfiguration
(Consumer<ManualSearchAIAgentConfiguration.Builder> manualSearchAIAgentConfiguration) The configuration for AI Agents of typeMANUAL_SEARCH
.manualSearchAIAgentConfiguration
(ManualSearchAIAgentConfiguration manualSearchAIAgentConfiguration) The configuration for AI Agents of typeMANUAL_SEARCH
.default AIAgentConfiguration.Builder
selfServiceAIAgentConfiguration
(Consumer<SelfServiceAIAgentConfiguration.Builder> selfServiceAIAgentConfiguration) The configuration for AI Agents of type SELF_SERVICE.selfServiceAIAgentConfiguration
(SelfServiceAIAgentConfiguration selfServiceAIAgentConfiguration) The configuration for AI Agents of type SELF_SERVICE.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, sdkFieldNameToField, sdkFields
-
Method Details
-
manualSearchAIAgentConfiguration
AIAgentConfiguration.Builder manualSearchAIAgentConfiguration(ManualSearchAIAgentConfiguration manualSearchAIAgentConfiguration) The configuration for AI Agents of type
MANUAL_SEARCH
.- Parameters:
manualSearchAIAgentConfiguration
- The configuration for AI Agents of typeMANUAL_SEARCH
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manualSearchAIAgentConfiguration
default AIAgentConfiguration.Builder manualSearchAIAgentConfiguration(Consumer<ManualSearchAIAgentConfiguration.Builder> manualSearchAIAgentConfiguration) The configuration for AI Agents of type
This is a convenience method that creates an instance of theMANUAL_SEARCH
.ManualSearchAIAgentConfiguration.Builder
avoiding the need to create one manually viaManualSearchAIAgentConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomanualSearchAIAgentConfiguration(ManualSearchAIAgentConfiguration)
.- Parameters:
manualSearchAIAgentConfiguration
- a consumer that will call methods onManualSearchAIAgentConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
answerRecommendationAIAgentConfiguration
AIAgentConfiguration.Builder answerRecommendationAIAgentConfiguration(AnswerRecommendationAIAgentConfiguration answerRecommendationAIAgentConfiguration) The configuration for AI Agents of type
ANSWER_RECOMMENDATION
.- Parameters:
answerRecommendationAIAgentConfiguration
- The configuration for AI Agents of typeANSWER_RECOMMENDATION
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
answerRecommendationAIAgentConfiguration
default AIAgentConfiguration.Builder answerRecommendationAIAgentConfiguration(Consumer<AnswerRecommendationAIAgentConfiguration.Builder> answerRecommendationAIAgentConfiguration) The configuration for AI Agents of type
This is a convenience method that creates an instance of theANSWER_RECOMMENDATION
.AnswerRecommendationAIAgentConfiguration.Builder
avoiding the need to create one manually viaAnswerRecommendationAIAgentConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanswerRecommendationAIAgentConfiguration(AnswerRecommendationAIAgentConfiguration)
.- Parameters:
answerRecommendationAIAgentConfiguration
- a consumer that will call methods onAnswerRecommendationAIAgentConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
selfServiceAIAgentConfiguration
AIAgentConfiguration.Builder selfServiceAIAgentConfiguration(SelfServiceAIAgentConfiguration selfServiceAIAgentConfiguration) The configuration for AI Agents of type SELF_SERVICE.
- Parameters:
selfServiceAIAgentConfiguration
- The configuration for AI Agents of type SELF_SERVICE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selfServiceAIAgentConfiguration
default AIAgentConfiguration.Builder selfServiceAIAgentConfiguration(Consumer<SelfServiceAIAgentConfiguration.Builder> selfServiceAIAgentConfiguration) The configuration for AI Agents of type SELF_SERVICE.
This is a convenience method that creates an instance of theSelfServiceAIAgentConfiguration.Builder
avoiding the need to create one manually viaSelfServiceAIAgentConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toselfServiceAIAgentConfiguration(SelfServiceAIAgentConfiguration)
.- Parameters:
selfServiceAIAgentConfiguration
- a consumer that will call methods onSelfServiceAIAgentConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-