Interface S3KnowledgeBaseParameters.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3KnowledgeBaseParameters.Builder,
,S3KnowledgeBaseParameters> SdkBuilder<S3KnowledgeBaseParameters.Builder,
,S3KnowledgeBaseParameters> SdkPojo
- Enclosing class:
S3KnowledgeBaseParameters
@Mutable
@NotThreadSafe
public static interface S3KnowledgeBaseParameters.Builder
extends SdkPojo, CopyableBuilder<S3KnowledgeBaseParameters.Builder,S3KnowledgeBaseParameters>
-
Method Summary
Modifier and TypeMethodDescriptionThe URL of the S3 bucket that contains the knowledge base data.metadataFilesLocation
(String metadataFilesLocation) The location of metadata files within the S3 bucket that describe the structure and content of the knowledge base.Use theRoleArn
structure to override an account-wide role for a specific S3 Knowledge Base data source.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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 useRoleArn
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 theRoleArn
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 useRoleArn
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
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.
-