Interface S3KnowledgeBaseParameters.Builder

  • Method Details

    • roleArn

      Use the RoleArn structure to override an account-wide role for a specific S3 Knowledge Base data source. For example, say an account administrator has turned off all S3 access with an account-wide role. The administrator can then use RoleArn to bypass the account-wide role and allow S3 access for the single S3 Knowledge Base data source that is specified in the structure, even if the account-wide role forbidding S3 access is still active.

      Parameters:
      roleArn - Use the RoleArn structure to override an account-wide role for a specific S3 Knowledge Base data source. For example, say an account administrator has turned off all S3 access with an account-wide role. The administrator can then use RoleArn to bypass the account-wide role and allow S3 access for the single S3 Knowledge Base data source that is specified in the structure, even if the account-wide role forbidding S3 access is still active.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bucketUrl

      The URL of the S3 bucket that contains the knowledge base data.

      Parameters:
      bucketUrl - The URL of the S3 bucket that contains the knowledge base data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadataFilesLocation

      S3KnowledgeBaseParameters.Builder metadataFilesLocation(String metadataFilesLocation)

      The Amazon S3 location (prefix) of per-document metadata files. Each metadata file describes a single source document and its indexable attributes, such as title, category, and version. This is not the global ACL configuration file. To apply a single global ACL file to the entire knowledge base, use the access control configuration instead.

      Parameters:
      metadataFilesLocation - The Amazon S3 location (prefix) of per-document metadata files. Each metadata file describes a single source document and its indexable attributes, such as title, category, and version. This is not the global ACL configuration file. To apply a single global ACL file to the entire knowledge base, use the access control configuration instead.
      Returns:
      Returns a reference to this object so that method calls can be chained together.