Interface ImportOntologyTaskConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImportOntologyTaskConfiguration.Builder,,ImportOntologyTaskConfiguration> SdkBuilder<ImportOntologyTaskConfiguration.Builder,,ImportOntologyTaskConfiguration> SdkPojo
- Enclosing class:
ImportOntologyTaskConfiguration
@Mutable
@NotThreadSafe
public static interface ImportOntologyTaskConfiguration.Builder
extends SdkPojo, CopyableBuilder<ImportOntologyTaskConfiguration.Builder,ImportOntologyTaskConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionontologies(Collection<OntologyReference> ontologies) The ontologies to import, in import order.ontologies(Consumer<OntologyReference.Builder>... ontologies) The ontologies to import, in import order.ontologies(OntologyReference... ontologies) The ontologies to import, in import order.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
-
ontologies
The ontologies to import, in import order. Each ARN can appear only once.
- Parameters:
ontologies- The ontologies to import, in import order. Each ARN can appear only once.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ontologies
The ontologies to import, in import order. Each ARN can appear only once.
- Parameters:
ontologies- The ontologies to import, in import order. Each ARN can appear only once.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ontologies
ImportOntologyTaskConfiguration.Builder ontologies(Consumer<OntologyReference.Builder>... ontologies) The ontologies to import, in import order. Each ARN can appear only once.
This is a convenience method that creates an instance of theOntologyReference.Builderavoiding the need to create one manually viaOntologyReference.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toontologies(List<OntologyReference>).- Parameters:
ontologies- a consumer that will call methods onOntologyReference.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-