Interface ImportResourceSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ImportResourceSpecification.Builder,,ImportResourceSpecification> SdkBuilder<ImportResourceSpecification.Builder,,ImportResourceSpecification> SdkPojo
- Enclosing class:
ImportResourceSpecification
-
Method Summary
Modifier and TypeMethodDescriptionbotImportSpecification(Consumer<BotImportSpecification.Builder> botImportSpecification) Parameters for importing a bot.botImportSpecification(BotImportSpecification botImportSpecification) Parameters for importing a bot.botLocaleImportSpecification(Consumer<BotLocaleImportSpecification.Builder> botLocaleImportSpecification) Parameters for importing a bot locale.botLocaleImportSpecification(BotLocaleImportSpecification botLocaleImportSpecification) Parameters for importing a bot locale.customVocabularyImportSpecification(Consumer<CustomVocabularyImportSpecification.Builder> customVocabularyImportSpecification) Sets the value of the CustomVocabularyImportSpecification property for this object.customVocabularyImportSpecification(CustomVocabularyImportSpecification customVocabularyImportSpecification) Sets the value of the CustomVocabularyImportSpecification property for this object.testSetImportResourceSpecification(Consumer<TestSetImportResourceSpecification.Builder> testSetImportResourceSpecification) Specifications for the test set that is imported.testSetImportResourceSpecification(TestSetImportResourceSpecification testSetImportResourceSpecification) Specifications for the test set that is imported.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, sdkFields
-
Method Details
-
botImportSpecification
ImportResourceSpecification.Builder botImportSpecification(BotImportSpecification botImportSpecification) Parameters for importing a bot.
- Parameters:
botImportSpecification- Parameters for importing a bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botImportSpecification
default ImportResourceSpecification.Builder botImportSpecification(Consumer<BotImportSpecification.Builder> botImportSpecification) Parameters for importing a bot.
This is a convenience method that creates an instance of theBotImportSpecification.Builderavoiding the need to create one manually viaBotImportSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobotImportSpecification(BotImportSpecification).- Parameters:
botImportSpecification- a consumer that will call methods onBotImportSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botLocaleImportSpecification
ImportResourceSpecification.Builder botLocaleImportSpecification(BotLocaleImportSpecification botLocaleImportSpecification) Parameters for importing a bot locale.
- Parameters:
botLocaleImportSpecification- Parameters for importing a bot locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botLocaleImportSpecification
default ImportResourceSpecification.Builder botLocaleImportSpecification(Consumer<BotLocaleImportSpecification.Builder> botLocaleImportSpecification) Parameters for importing a bot locale.
This is a convenience method that creates an instance of theBotLocaleImportSpecification.Builderavoiding the need to create one manually viaBotLocaleImportSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobotLocaleImportSpecification(BotLocaleImportSpecification).- Parameters:
botLocaleImportSpecification- a consumer that will call methods onBotLocaleImportSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customVocabularyImportSpecification
ImportResourceSpecification.Builder customVocabularyImportSpecification(CustomVocabularyImportSpecification customVocabularyImportSpecification) Sets the value of the CustomVocabularyImportSpecification property for this object.- Parameters:
customVocabularyImportSpecification- The new value for the CustomVocabularyImportSpecification property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customVocabularyImportSpecification
default ImportResourceSpecification.Builder customVocabularyImportSpecification(Consumer<CustomVocabularyImportSpecification.Builder> customVocabularyImportSpecification) Sets the value of the CustomVocabularyImportSpecification property for this object. This is a convenience method that creates an instance of theCustomVocabularyImportSpecification.Builderavoiding the need to create one manually viaCustomVocabularyImportSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomVocabularyImportSpecification(CustomVocabularyImportSpecification).- Parameters:
customVocabularyImportSpecification- a consumer that will call methods onCustomVocabularyImportSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
testSetImportResourceSpecification
ImportResourceSpecification.Builder testSetImportResourceSpecification(TestSetImportResourceSpecification testSetImportResourceSpecification) Specifications for the test set that is imported.
- Parameters:
testSetImportResourceSpecification- Specifications for the test set that is imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
testSetImportResourceSpecification
default ImportResourceSpecification.Builder testSetImportResourceSpecification(Consumer<TestSetImportResourceSpecification.Builder> testSetImportResourceSpecification) Specifications for the test set that is imported.
This is a convenience method that creates an instance of theTestSetImportResourceSpecification.Builderavoiding the need to create one manually viaTestSetImportResourceSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totestSetImportResourceSpecification(TestSetImportResourceSpecification).- Parameters:
testSetImportResourceSpecification- a consumer that will call methods onTestSetImportResourceSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-