Interface CustomContent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomContent.Builder,
,CustomContent> SdkBuilder<CustomContent.Builder,
,CustomContent> SdkPojo
- Enclosing class:
CustomContent
-
Method Summary
Modifier and TypeMethodDescriptiondefault CustomContent.Builder
customDocumentIdentifier
(Consumer<CustomDocumentIdentifier.Builder> customDocumentIdentifier) A unique identifier for the document.customDocumentIdentifier
(CustomDocumentIdentifier customDocumentIdentifier) A unique identifier for the document.default CustomContent.Builder
inlineContent
(Consumer<InlineContent.Builder> inlineContent) Contains information about content defined inline to ingest into a knowledge base.inlineContent
(InlineContent inlineContent) Contains information about content defined inline to ingest into a knowledge base.default CustomContent.Builder
s3Location
(Consumer<CustomS3Location.Builder> s3Location) Contains information about the Amazon S3 location of the file from which to ingest data.s3Location
(CustomS3Location s3Location) Contains information about the Amazon S3 location of the file from which to ingest data.sourceType
(String sourceType) The source of the data to ingest.sourceType
(CustomSourceType sourceType) The source of the data to ingest.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
-
customDocumentIdentifier
A unique identifier for the document.
- Parameters:
customDocumentIdentifier
- A unique identifier for the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customDocumentIdentifier
default CustomContent.Builder customDocumentIdentifier(Consumer<CustomDocumentIdentifier.Builder> customDocumentIdentifier) A unique identifier for the document.
This is a convenience method that creates an instance of theCustomDocumentIdentifier.Builder
avoiding the need to create one manually viaCustomDocumentIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomDocumentIdentifier(CustomDocumentIdentifier)
.- Parameters:
customDocumentIdentifier
- a consumer that will call methods onCustomDocumentIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inlineContent
Contains information about content defined inline to ingest into a knowledge base.
- Parameters:
inlineContent
- Contains information about content defined inline to ingest into a knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inlineContent
Contains information about content defined inline to ingest into a knowledge base.
This is a convenience method that creates an instance of theInlineContent.Builder
avoiding the need to create one manually viaInlineContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinlineContent(InlineContent)
.- Parameters:
inlineContent
- a consumer that will call methods onInlineContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Location
Contains information about the Amazon S3 location of the file from which to ingest data.
- Parameters:
s3Location
- Contains information about the Amazon S3 location of the file from which to ingest data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
Contains information about the Amazon S3 location of the file from which to ingest data.
This is a convenience method that creates an instance of theCustomS3Location.Builder
avoiding the need to create one manually viaCustomS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Location(CustomS3Location)
.- Parameters:
s3Location
- a consumer that will call methods onCustomS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceType
The source of the data to ingest.
- Parameters:
sourceType
- The source of the data to ingest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceType
The source of the data to ingest.
- Parameters:
sourceType
- The source of the data to ingest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-