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