Interface DescribeQuerySuggestionsBlockListResponse.Builder

  • Method Details

    • indexId

      The identifier of the index for the block list.

      Parameters:
      indexId - The identifier of the index for the block list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The identifier of the block list.

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

      The name of the block list.

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

      The description for the block list.

      Parameters:
      description - The description for the block list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the block list. When the value is ACTIVE, the block list is ready for use.

      Parameters:
      status - The current status of the block list. When the value is ACTIVE, the block list is ready for use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the block list. When the value is ACTIVE, the block list is ready for use.

      Parameters:
      status - The current status of the block list. When the value is ACTIVE, the block list is ready for use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorMessage

      The error message containing details if there are issues processing the block list.

      Parameters:
      errorMessage - The error message containing details if there are issues processing the block list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The Unix timestamp when a block list for query suggestions was created.

      Parameters:
      createdAt - The Unix timestamp when a block list for query suggestions was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      The Unix timestamp when a block list for query suggestions was last updated.

      Parameters:
      updatedAt - The Unix timestamp when a block list for query suggestions was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceS3Path

      Shows the current S3 path to your block list text file in your S3 bucket.

      Each block word or phrase should be on a separate line in a text file.

      For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

      Parameters:
      sourceS3Path - Shows the current S3 path to your block list text file in your S3 bucket.

      Each block word or phrase should be on a separate line in a text file.

      For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceS3Path

      Shows the current S3 path to your block list text file in your S3 bucket.

      Each block word or phrase should be on a separate line in a text file.

      For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

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

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

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

      The current number of valid, non-empty words or phrases in the block list text file.

      Parameters:
      itemCount - The current number of valid, non-empty words or phrases in the block list text file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileSizeBytes

      The current size of the block list text file in S3.

      Parameters:
      fileSizeBytes - The current size of the block list text file in S3.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in S3.

      The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra.

      Parameters:
      roleArn - The IAM (Identity and Access Management) role used by Amazon Kendra to access the block list text file in S3.

      The role needs S3 read permissions to your file in S3 and needs to give STS (Security Token Service) assume role permissions to Amazon Kendra.

      Returns:
      Returns a reference to this object so that method calls can be chained together.