Interface DocumentContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentContent.Builder,,DocumentContent> SdkBuilder<DocumentContent.Builder,,DocumentContent> SdkPojo
- Enclosing class:
DocumentContent
-
Method Summary
Modifier and TypeMethodDescriptiondefault DocumentContent.Buildercustom(Consumer<CustomContent.Builder> custom) Contains information about the content to ingest into a knowledge base connected to a custom data source.custom(CustomContent custom) Contains information about the content to ingest into a knowledge base connected to a custom data source.dataSourceType(String dataSourceType) The type of data source that is connected to the knowledge base to which to ingest this document.dataSourceType(ContentDataSourceType dataSourceType) The type of data source that is connected to the knowledge base to which to ingest this document.default DocumentContent.Builders3(Consumer<S3Content.Builder> s3) Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data sourceContains information about the content to ingest into a knowledge base connected to an Amazon S3 data sourceMethods 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
-
dataSourceType
The type of data source that is connected to the knowledge base to which to ingest this document.
- Parameters:
dataSourceType- The type of data source that is connected to the knowledge base to which to ingest this document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataSourceType
The type of data source that is connected to the knowledge base to which to ingest this document.
- Parameters:
dataSourceType- The type of data source that is connected to the knowledge base to which to ingest this document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
custom
Contains information about the content to ingest into a knowledge base connected to a custom data source.
- Parameters:
custom- Contains information about the content to ingest into a knowledge base connected to a custom data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
custom
Contains information about the content to ingest into a knowledge base connected to a custom data source.
This is a convenience method that creates an instance of theCustomContent.Builderavoiding the need to create one manually viaCustomContent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustom(CustomContent).- Parameters:
custom- a consumer that will call methods onCustomContent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3
Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source
- Parameters:
s3- Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
Contains information about the content to ingest into a knowledge base connected to an Amazon S3 data source
This is a convenience method that creates an instance of theS3Content.Builderavoiding the need to create one manually viaS3Content.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3Content).- Parameters:
s3- a consumer that will call methods onS3Content.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-