Interface SessionData.Builder

  • Method Details

    • sessionArn

      SessionData.Builder sessionArn(String sessionArn)

      The Amazon Resource Name (ARN) of the session.

      Parameters:
      sessionArn - The Amazon Resource Name (ARN) of the session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionId

      SessionData.Builder sessionId(String sessionId)

      The identifier of the session.

      Parameters:
      sessionId - The identifier of the session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the session.

      Parameters:
      name - The name of the session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      SessionData.Builder description(String description)

      The description of the session.

      Parameters:
      description - The description of the session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags used to organize, track, or control access for this resource.

      Parameters:
      tags - The tags used to organize, track, or control access for this resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • integrationConfiguration

      SessionData.Builder integrationConfiguration(SessionIntegrationConfiguration integrationConfiguration)

      The configuration information for the session integration.

      Parameters:
      integrationConfiguration - The configuration information for the session integration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • integrationConfiguration

      default SessionData.Builder integrationConfiguration(Consumer<SessionIntegrationConfiguration.Builder> integrationConfiguration)

      The configuration information for the session integration.

      This is a convenience method that creates an instance of the SessionIntegrationConfiguration.Builder avoiding the need to create one manually via SessionIntegrationConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to integrationConfiguration(SessionIntegrationConfiguration).

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

      SessionData.Builder tagFilter(TagFilter tagFilter)

      An object that can be used to specify Tag conditions.

      Parameters:
      tagFilter - An object that can be used to specify Tag conditions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagFilter

      default SessionData.Builder tagFilter(Consumer<TagFilter.Builder> tagFilter)

      An object that can be used to specify Tag conditions.

      This is a convenience method that creates an instance of the TagFilter.Builder avoiding the need to create one manually via TagFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tagFilter(TagFilter).

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

      SessionData.Builder aiAgentConfigurationWithStrings(Map<String,AIAgentConfigurationData> aiAgentConfiguration)

      The configuration of the AI Agents (mapped by AI Agent Type to AI Agent version) that should be used by Amazon Q in Connect for this Session.

      Parameters:
      aiAgentConfiguration - The configuration of the AI Agents (mapped by AI Agent Type to AI Agent version) that should be used by Amazon Q in Connect for this Session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aiAgentConfiguration

      SessionData.Builder aiAgentConfiguration(Map<AIAgentType,AIAgentConfigurationData> aiAgentConfiguration)

      The configuration of the AI Agents (mapped by AI Agent Type to AI Agent version) that should be used by Amazon Q in Connect for this Session.

      Parameters:
      aiAgentConfiguration - The configuration of the AI Agents (mapped by AI Agent Type to AI Agent version) that should be used by Amazon Q in Connect for this Session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • origin

      SessionData.Builder origin(String origin)

      The origin of the Session to be listed. SYSTEM for a default Session created by Amazon Q in Connect or CUSTOMER for a Session created by calling CreateSession API.

      Parameters:
      origin - The origin of the Session to be listed. SYSTEM for a default Session created by Amazon Q in Connect or CUSTOMER for a Session created by calling CreateSession API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • origin

      SessionData.Builder origin(Origin origin)

      The origin of the Session to be listed. SYSTEM for a default Session created by Amazon Q in Connect or CUSTOMER for a Session created by calling CreateSession API.

      Parameters:
      origin - The origin of the Session to be listed. SYSTEM for a default Session created by Amazon Q in Connect or CUSTOMER for a Session created by calling CreateSession API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: