Interface S3KnowledgeBaseParameters.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<S3KnowledgeBaseParameters.Builder,,S3KnowledgeBaseParameters> SdkBuilder<S3KnowledgeBaseParameters.Builder,,S3KnowledgeBaseParameters> SdkPojo
- Enclosing class:
S3KnowledgeBaseParameters
-
Method Summary
Modifier and TypeMethodDescriptionThe URL of the S3 bucket that contains the knowledge base data.metadataFilesLocation(String metadataFilesLocation) The Amazon S3 location (prefix) of per-document metadata files.Use theRoleArnstructure to override an account-wide role for a specific S3 Knowledge Base data source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
roleArn
Use the
RoleArnstructure 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 useRoleArnto 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 theRoleArnstructure 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 useRoleArnto 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
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.
-