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 location of metadata files within the S3 bucket that describe the structure and content of the knowledge base.

      Parameters:
      metadataFilesLocation - The location of metadata files within the S3 bucket that describe the structure and content of the knowledge base.
      Returns:
      Returns a reference to this object so that method calls can be chained together.