public static interface StartImportRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<StartImportRequest.Builder,StartImportRequest>
| Modifier and Type | Method and Description |
|---|---|
StartImportRequest.Builder |
filePassword(String filePassword)
The password used to encrypt the zip archive that contains the resource definition.
|
StartImportRequest.Builder |
importId(String importId)
The unique identifier for the import.
|
StartImportRequest.Builder |
mergeStrategy(MergeStrategy mergeStrategy)
The strategy to use when there is a name conflict between the imported resource and an existing resource.
|
StartImportRequest.Builder |
mergeStrategy(String mergeStrategy)
The strategy to use when there is a name conflict between the imported resource and an existing resource.
|
StartImportRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartImportRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default StartImportRequest.Builder |
resourceSpecification(Consumer<ImportResourceSpecification.Builder> resourceSpecification)
Parameters for creating the bot, bot locale or custom vocabulary.
|
StartImportRequest.Builder |
resourceSpecification(ImportResourceSpecification resourceSpecification)
Parameters for creating the bot, bot locale or custom vocabulary.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartImportRequest.Builder importId(String importId)
The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.
importId - The unique identifier for the import. It is included in the response from the CreateUploadUrl
operation.StartImportRequest.Builder resourceSpecification(ImportResourceSpecification resourceSpecification)
Parameters for creating the bot, bot locale or custom vocabulary.
resourceSpecification - Parameters for creating the bot, bot locale or custom vocabulary.default StartImportRequest.Builder resourceSpecification(Consumer<ImportResourceSpecification.Builder> resourceSpecification)
Parameters for creating the bot, bot locale or custom vocabulary.
This is a convenience method that creates an instance of theImportResourceSpecification.Builder
avoiding the need to create one manually via ImportResourceSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to resourceSpecification(ImportResourceSpecification).resourceSpecification - a consumer that will call methods on ImportResourceSpecification.BuilderresourceSpecification(ImportResourceSpecification)StartImportRequest.Builder mergeStrategy(String mergeStrategy)
The strategy to use when there is a name conflict between the imported resource and an existing resource.
When the merge strategy is FailOnConflict existing resources are not overwritten and the import
fails.
mergeStrategy - The strategy to use when there is a name conflict between the imported resource and an existing
resource. When the merge strategy is FailOnConflict existing resources are not
overwritten and the import fails.MergeStrategy,
MergeStrategyStartImportRequest.Builder mergeStrategy(MergeStrategy mergeStrategy)
The strategy to use when there is a name conflict between the imported resource and an existing resource.
When the merge strategy is FailOnConflict existing resources are not overwritten and the import
fails.
mergeStrategy - The strategy to use when there is a name conflict between the imported resource and an existing
resource. When the merge strategy is FailOnConflict existing resources are not
overwritten and the import fails.MergeStrategy,
MergeStrategyStartImportRequest.Builder filePassword(String filePassword)
The password used to encrypt the zip archive that contains the resource definition. You should always encrypt the zip archive to protect it during transit between your site and Amazon Lex.
filePassword - The password used to encrypt the zip archive that contains the resource definition. You should always
encrypt the zip archive to protect it during transit between your site and Amazon Lex.StartImportRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStartImportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.