Interface DeliverToQBusinessAction.Builder

  • Method Details

    • actionFailurePolicy

      DeliverToQBusinessAction.Builder actionFailurePolicy(String actionFailurePolicy)

      A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified application has been deleted or the role lacks necessary permissions to call the qbusiness:BatchPutDocument API.

      Parameters:
      actionFailurePolicy - A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified application has been deleted or the role lacks necessary permissions to call the qbusiness:BatchPutDocument API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • actionFailurePolicy

      DeliverToQBusinessAction.Builder actionFailurePolicy(ActionFailurePolicy actionFailurePolicy)

      A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified application has been deleted or the role lacks necessary permissions to call the qbusiness:BatchPutDocument API.

      Parameters:
      actionFailurePolicy - A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified application has been deleted or the role lacks necessary permissions to call the qbusiness:BatchPutDocument API.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • applicationId

      DeliverToQBusinessAction.Builder applicationId(String applicationId)

      The unique identifier of the Amazon Q Business application instance where the email content will be delivered.

      Parameters:
      applicationId - The unique identifier of the Amazon Q Business application instance where the email content will be delivered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • indexId

      The identifier of the knowledge base index within the Amazon Q Business application where the email content will be stored and indexed.

      Parameters:
      indexId - The identifier of the knowledge base index within the Amazon Q Business application where the email content will be stored and indexed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      The Amazon Resource Name (ARN) of the IAM Role to use while delivering to Amazon Q Business. This role must have access to the qbusiness:BatchPutDocument API for the given application and index.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of the IAM Role to use while delivering to Amazon Q Business. This role must have access to the qbusiness:BatchPutDocument API for the given application and index.
      Returns:
      Returns a reference to this object so that method calls can be chained together.