Interface DocumentIdentifier.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DocumentIdentifier.Builder,DocumentIdentifier>,SdkBuilder<DocumentIdentifier.Builder,DocumentIdentifier>,SdkPojo
- Enclosing class:
- DocumentIdentifier
@Mutable @NotThreadSafe public static interface DocumentIdentifier.Builder extends SdkPojo, CopyableBuilder<DocumentIdentifier.Builder,DocumentIdentifier>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DocumentIdentifier.Buildercustom(Consumer<CustomDocumentIdentifier.Builder> custom)Contains information that identifies the document in a custom data source.DocumentIdentifier.Buildercustom(CustomDocumentIdentifier custom)Contains information that identifies the document in a custom data source.DocumentIdentifier.BuilderdataSourceType(String dataSourceType)The type of data source connected to the knowledge base that contains the document.DocumentIdentifier.BuilderdataSourceType(ContentDataSourceType dataSourceType)The type of data source connected to the knowledge base that contains the document.default DocumentIdentifier.Builders3(Consumer<S3Location.Builder> s3)Contains information that identifies the document in an S3 data source.DocumentIdentifier.Builders3(S3Location s3)Contains information that identifies the document in an S3 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 Detail
-
dataSourceType
DocumentIdentifier.Builder dataSourceType(String dataSourceType)
The type of data source connected to the knowledge base that contains the document.
- Parameters:
dataSourceType- The type of data source connected to the knowledge base that contains the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContentDataSourceType,ContentDataSourceType
-
dataSourceType
DocumentIdentifier.Builder dataSourceType(ContentDataSourceType dataSourceType)
The type of data source connected to the knowledge base that contains the document.
- Parameters:
dataSourceType- The type of data source connected to the knowledge base that contains the document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContentDataSourceType,ContentDataSourceType
-
s3
DocumentIdentifier.Builder s3(S3Location s3)
Contains information that identifies the document in an S3 data source.
- Parameters:
s3- Contains information that identifies the document in an S3 data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3
default DocumentIdentifier.Builder s3(Consumer<S3Location.Builder> s3)
Contains information that identifies the document in an S3 data source.
This is a convenience method that creates an instance of theS3Location.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3(S3Location).- Parameters:
s3- a consumer that will call methods onS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3(S3Location)
-
custom
DocumentIdentifier.Builder custom(CustomDocumentIdentifier custom)
Contains information that identifies the document in a custom data source.
- Parameters:
custom- Contains information that identifies the document in a custom data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
custom
default DocumentIdentifier.Builder custom(Consumer<CustomDocumentIdentifier.Builder> custom)
Contains information that identifies the document in a custom data source.
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 tocustom(CustomDocumentIdentifier).- Parameters:
custom- 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:
custom(CustomDocumentIdentifier)
-
-