Interface WisdomInfo.Builder

  • Method Details

    • sessionArn

      WisdomInfo.Builder sessionArn(String 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

      WisdomInfo.Builder aiAgents(AiAgentInfo... 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 the AiAgentInfo.Builder avoiding the need to create one manually via AiAgentInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to aiAgents(List<AiAgentInfo>).

      Parameters:
      aiAgents - a consumer that will call methods on AiAgentInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: