Interface TopicConfiguration.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<TopicConfiguration.Builder,,TopicConfiguration> SdkBuilder<TopicConfiguration.Builder,,TopicConfiguration> SdkPojo
- Enclosing class:
 TopicConfiguration
public static interface TopicConfiguration.Builder
extends SdkPojo, CopyableBuilder<TopicConfiguration.Builder,TopicConfiguration> 
- 
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description for your topic control configuration.exampleChatMessages(String... exampleChatMessages) A list of example phrases that you expect the end user to use in relation to the topic.exampleChatMessages(Collection<String> exampleChatMessages) A list of example phrases that you expect the end user to use in relation to the topic.A name for your topic control configuration.rules(Collection<Rule> rules) Rules defined for a topic configuration.rules(Consumer<Rule.Builder>... rules) Rules defined for a topic configuration.Rules defined for a topic configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields 
- 
Method Details
- 
name
A name for your topic control configuration.
- Parameters:
 name- A name for your topic control configuration.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
description
A description for your topic control configuration. Use this to outline how the large language model (LLM) should use this topic control configuration.
- Parameters:
 description- A description for your topic control configuration. Use this to outline how the large language model (LLM) should use this topic control configuration.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
exampleChatMessages
A list of example phrases that you expect the end user to use in relation to the topic.
- Parameters:
 exampleChatMessages- A list of example phrases that you expect the end user to use in relation to the topic.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
exampleChatMessages
A list of example phrases that you expect the end user to use in relation to the topic.
- Parameters:
 exampleChatMessages- A list of example phrases that you expect the end user to use in relation to the topic.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
rules
Rules defined for a topic configuration.
- Parameters:
 rules- Rules defined for a topic configuration.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
rules
Rules defined for a topic configuration.
- Parameters:
 rules- Rules defined for a topic configuration.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
rules
Rules defined for a topic configuration.
This is a convenience method that creates an instance of theRule.Builderavoiding the need to create one manually viaRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<Rule>).- Parameters:
 rules- a consumer that will call methods onRule.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -