Interface StartImportRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartImportRequest.Builder,StartImportRequest>,LexModelsV2Request.Builder,SdkBuilder<StartImportRequest.Builder,StartImportRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartImportRequest
public static interface StartImportRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<StartImportRequest.Builder,StartImportRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartImportRequest.BuilderfilePassword(String filePassword)The password used to encrypt the zip archive that contains the resource definition.StartImportRequest.BuilderimportId(String importId)The unique identifier for the import.StartImportRequest.BuildermergeStrategy(String mergeStrategy)The strategy to use when there is a name conflict between the imported resource and an existing resource.StartImportRequest.BuildermergeStrategy(MergeStrategy mergeStrategy)The strategy to use when there is a name conflict between the imported resource and an existing resource.StartImportRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartImportRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default StartImportRequest.BuilderresourceSpecification(Consumer<ImportResourceSpecification.Builder> resourceSpecification)Parameters for creating the bot, bot locale or custom vocabulary.StartImportRequest.BuilderresourceSpecification(ImportResourceSpecification resourceSpecification)Parameters for creating the bot, bot locale or custom vocabulary.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
importId
StartImportRequest.Builder importId(String importId)
The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.
- Parameters:
importId- The unique identifier for the import. It is included in the response from the CreateUploadUrl operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpecification
StartImportRequest.Builder resourceSpecification(ImportResourceSpecification resourceSpecification)
Parameters for creating the bot, bot locale or custom vocabulary.
- Parameters:
resourceSpecification- Parameters for creating the bot, bot locale or custom vocabulary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpecification
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.Builderavoiding the need to create one manually viaImportResourceSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceSpecification(ImportResourceSpecification).- Parameters:
resourceSpecification- a consumer that will call methods onImportResourceSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resourceSpecification(ImportResourceSpecification)
-
mergeStrategy
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
FailOnConflictexisting resources are not overwritten and the import fails.- Parameters:
mergeStrategy- The strategy to use when there is a name conflict between the imported resource and an existing resource. When the merge strategy isFailOnConflictexisting resources are not overwritten and the import fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MergeStrategy,MergeStrategy
-
mergeStrategy
StartImportRequest.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
FailOnConflictexisting resources are not overwritten and the import fails.- Parameters:
mergeStrategy- The strategy to use when there is a name conflict between the imported resource and an existing resource. When the merge strategy isFailOnConflictexisting resources are not overwritten and the import fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MergeStrategy,MergeStrategy
-
filePassword
StartImportRequest.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartImportRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartImportRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-