Interface TaskInputConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TaskInputConfiguration.Builder,,TaskInputConfiguration> SdkBuilder<TaskInputConfiguration.Builder,,TaskInputConfiguration> SdkPojo
- Enclosing class:
TaskInputConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault TaskInputConfiguration.BuilderimportDataDictionary(Consumer<ImportDataDictionaryTaskConfiguration.Builder> importDataDictionary) Imports a data dictionary into the agent context from documents of typeCSV,JSON,YAML, orMARKDOWN.importDataDictionary(ImportDataDictionaryTaskConfiguration importDataDictionary) Imports a data dictionary into the agent context from documents of typeCSV,JSON,YAML, orMARKDOWN.default TaskInputConfiguration.BuilderimportOntology(Consumer<ImportOntologyTaskConfiguration.Builder> importOntology) Imports one or more ontologies into the agent context.importOntology(ImportOntologyTaskConfiguration importOntology) Imports one or more ontologies into the agent context.default TaskInputConfiguration.BuilderimportVerifiedQueries(Consumer<ImportVerifiedQueriesTaskConfiguration.Builder> importVerifiedQueries) Imports verified queries into the agent context from documents of typeSQL,CSV,JSON, orTXT.importVerifiedQueries(ImportVerifiedQueriesTaskConfiguration importVerifiedQueries) Imports verified queries into the agent context from documents of typeSQL,CSV,JSON, orTXT.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
-
importDataDictionary
TaskInputConfiguration.Builder importDataDictionary(ImportDataDictionaryTaskConfiguration importDataDictionary) Imports a data dictionary into the agent context from documents of type
CSV,JSON,YAML, orMARKDOWN. The task's type isIMPORT_DATA_DICTIONARY.- Parameters:
importDataDictionary- Imports a data dictionary into the agent context from documents of typeCSV,JSON,YAML, orMARKDOWN. The task's type isIMPORT_DATA_DICTIONARY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importDataDictionary
default TaskInputConfiguration.Builder importDataDictionary(Consumer<ImportDataDictionaryTaskConfiguration.Builder> importDataDictionary) Imports a data dictionary into the agent context from documents of type
This is a convenience method that creates an instance of theCSV,JSON,YAML, orMARKDOWN. The task's type isIMPORT_DATA_DICTIONARY.ImportDataDictionaryTaskConfiguration.Builderavoiding the need to create one manually viaImportDataDictionaryTaskConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimportDataDictionary(ImportDataDictionaryTaskConfiguration).- Parameters:
importDataDictionary- a consumer that will call methods onImportDataDictionaryTaskConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
importVerifiedQueries
TaskInputConfiguration.Builder importVerifiedQueries(ImportVerifiedQueriesTaskConfiguration importVerifiedQueries) Imports verified queries into the agent context from documents of type
SQL,CSV,JSON, orTXT. The task's type isIMPORT_VERIFIED_QUERIES.- Parameters:
importVerifiedQueries- Imports verified queries into the agent context from documents of typeSQL,CSV,JSON, orTXT. The task's type isIMPORT_VERIFIED_QUERIES.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importVerifiedQueries
default TaskInputConfiguration.Builder importVerifiedQueries(Consumer<ImportVerifiedQueriesTaskConfiguration.Builder> importVerifiedQueries) Imports verified queries into the agent context from documents of type
This is a convenience method that creates an instance of theSQL,CSV,JSON, orTXT. The task's type isIMPORT_VERIFIED_QUERIES.ImportVerifiedQueriesTaskConfiguration.Builderavoiding the need to create one manually viaImportVerifiedQueriesTaskConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimportVerifiedQueries(ImportVerifiedQueriesTaskConfiguration).- Parameters:
importVerifiedQueries- a consumer that will call methods onImportVerifiedQueriesTaskConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
importOntology
Imports one or more ontologies into the agent context. The task's type is
IMPORT_ONTOLOGY.- Parameters:
importOntology- Imports one or more ontologies into the agent context. The task's type isIMPORT_ONTOLOGY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importOntology
default TaskInputConfiguration.Builder importOntology(Consumer<ImportOntologyTaskConfiguration.Builder> importOntology) Imports one or more ontologies into the agent context. The task's type is
This is a convenience method that creates an instance of theIMPORT_ONTOLOGY.ImportOntologyTaskConfiguration.Builderavoiding the need to create one manually viaImportOntologyTaskConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimportOntology(ImportOntologyTaskConfiguration).- Parameters:
importOntology- a consumer that will call methods onImportOntologyTaskConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-