Interface OntologyInductionInputConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<OntologyInductionInputConfig.Builder,,OntologyInductionInputConfig> SdkBuilder<OntologyInductionInputConfig.Builder,,OntologyInductionInputConfig> SdkPojo
- Enclosing class:
OntologyInductionInputConfig
@Mutable
@NotThreadSafe
public static interface OntologyInductionInputConfig.Builder
extends SdkPojo, CopyableBuilder<OntologyInductionInputConfig.Builder,OntologyInductionInputConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondocuments(Collection<OntologyInductionDocument> documents) Documents uploaded in the request.documents(Consumer<OntologyInductionDocument.Builder>... documents) Documents uploaded in the request.documents(OntologyInductionDocument... documents) Documents uploaded in the request.Methods 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
-
documents
Documents uploaded in the request.
- Parameters:
documents- Documents uploaded in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
Documents uploaded in the request.
- Parameters:
documents- Documents uploaded in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
OntologyInductionInputConfig.Builder documents(Consumer<OntologyInductionDocument.Builder>... documents) Documents uploaded in the request.
This is a convenience method that creates an instance of theOntologyInductionDocument.Builderavoiding the need to create one manually viaOntologyInductionDocument.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocuments(List<OntologyInductionDocument>).- Parameters:
documents- a consumer that will call methods onOntologyInductionDocument.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-