Interface WisdomInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WisdomInfo.Builder,,WisdomInfo> SdkBuilder<WisdomInfo.Builder,,WisdomInfo> SdkPojo
- Enclosing class:
WisdomInfo
@Mutable
@NotThreadSafe
public static interface WisdomInfo.Builder
extends SdkPojo, CopyableBuilder<WisdomInfo.Builder,WisdomInfo>
-
Method Summary
Modifier and TypeMethodDescriptionaiAgents(Collection<AiAgentInfo> aiAgents) The array of AI agents involved in the contact.aiAgents(Consumer<AiAgentInfo.Builder>... aiAgents) The array of AI agents involved in the contact.aiAgents(AiAgentInfo... aiAgents) The array of AI agents involved in the contact.sessionArn(String sessionArn) The Amazon Resource Name (ARN) of the Wisdom session.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
-
sessionArn
The Amazon Resource Name (ARN) of the Wisdom session.
- Parameters:
sessionArn- The Amazon Resource Name (ARN) of the Wisdom session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiAgents
The array of AI agents involved in the contact.
- Parameters:
aiAgents- The array of AI agents involved in the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiAgents
The array of AI agents involved in the contact.
- Parameters:
aiAgents- The array of AI agents involved in the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiAgents
The array of AI agents involved in the contact.
This is a convenience method that creates an instance of theAiAgentInfo.Builderavoiding the need to create one manually viaAiAgentInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaiAgents(List<AiAgentInfo>).- Parameters:
aiAgents- a consumer that will call methods onAiAgentInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-