Interface CustomContent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomContent.Builder,CustomContent>,SdkBuilder<CustomContent.Builder,CustomContent>,SdkPojo
- Enclosing class:
- CustomContent
@Mutable @NotThreadSafe public static interface CustomContent.Builder extends SdkPojo, CopyableBuilder<CustomContent.Builder,CustomContent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CustomContent.BuildercustomDocumentIdentifier(Consumer<CustomDocumentIdentifier.Builder> customDocumentIdentifier)A unique identifier for the document.CustomContent.BuildercustomDocumentIdentifier(CustomDocumentIdentifier customDocumentIdentifier)A unique identifier for the document.default CustomContent.BuilderinlineContent(Consumer<InlineContent.Builder> inlineContent)Contains information about content defined inline to ingest into a knowledge base.CustomContent.BuilderinlineContent(InlineContent inlineContent)Contains information about content defined inline to ingest into a knowledge base.default CustomContent.Builders3Location(Consumer<CustomS3Location.Builder> s3Location)Contains information about the Amazon S3 location of the file from which to ingest data.CustomContent.Builders3Location(CustomS3Location s3Location)Contains information about the Amazon S3 location of the file from which to ingest data.CustomContent.BuildersourceType(String sourceType)The source of the data to ingest.CustomContent.BuildersourceType(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 Detail
-
customDocumentIdentifier
CustomContent.Builder customDocumentIdentifier(CustomDocumentIdentifier 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.Builderavoiding the need to create one manually viaCustomDocumentIdentifier.builder().When the
Consumercompletes,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:
customDocumentIdentifier(CustomDocumentIdentifier)
-
sourceType
CustomContent.Builder sourceType(String 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:
CustomSourceType,CustomSourceType
-
sourceType
CustomContent.Builder sourceType(CustomSourceType 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:
CustomSourceType,CustomSourceType
-
s3Location
CustomContent.Builder s3Location(CustomS3Location 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
default CustomContent.Builder s3Location(Consumer<CustomS3Location.Builder> 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.Builderavoiding the need to create one manually viaCustomS3Location.builder().When the
Consumercompletes,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:
s3Location(CustomS3Location)
-
inlineContent
CustomContent.Builder inlineContent(InlineContent 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
default CustomContent.Builder inlineContent(Consumer<InlineContent.Builder> inlineContent)
Contains information about content defined inline to ingest into a knowledge base.
This is a convenience method that creates an instance of theInlineContent.Builderavoiding the need to create one manually viaInlineContent.builder().When the
Consumercompletes,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:
inlineContent(InlineContent)
-
-