Interface CreateSessionRequest.Builder

  • Method Details

    • clientToken

      CreateSessionRequest.Builder clientToken(String clientToken)

      A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

      Parameters:
      clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • assistantId

      CreateSessionRequest.Builder assistantId(String assistantId)

      The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

      Parameters:
      assistantId - The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
      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

      CreateSessionRequest.Builder description(String description)

      The description.

      Parameters:
      description - The description.
      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.
    • 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

      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

      CreateSessionRequest.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

      CreateSessionRequest.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.
    • overrideConfiguration

      CreateSessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.