public static interface StartImportResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<StartImportResponse.Builder,StartImportResponse>
| Modifier and Type | Method and Description |
|---|---|
StartImportResponse.Builder |
creationDateTime(Instant creationDateTime)
The date and time that the import request was created.
|
StartImportResponse.Builder |
importId(String importId)
A unique identifier for the import.
|
StartImportResponse.Builder |
importStatus(ImportStatus importStatus)
The current status of the import.
|
StartImportResponse.Builder |
importStatus(String importStatus)
The current status of the import.
|
StartImportResponse.Builder |
mergeStrategy(MergeStrategy mergeStrategy)
The strategy used when there was a name conflict between the imported resource and an existing resource.
|
StartImportResponse.Builder |
mergeStrategy(String mergeStrategy)
The strategy used when there was a name conflict between the imported resource and an existing resource.
|
default StartImportResponse.Builder |
resourceSpecification(Consumer<ImportResourceSpecification.Builder> resourceSpecification)
The parameters used when importing the bot or bot locale.
|
StartImportResponse.Builder |
resourceSpecification(ImportResourceSpecification resourceSpecification)
The parameters used when importing the bot or bot locale.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartImportResponse.Builder importId(String importId)
A unique identifier for the import.
importId - A unique identifier for the import.StartImportResponse.Builder resourceSpecification(ImportResourceSpecification resourceSpecification)
The parameters used when importing the bot or bot locale.
resourceSpecification - The parameters used when importing the bot or bot locale.default StartImportResponse.Builder resourceSpecification(Consumer<ImportResourceSpecification.Builder> resourceSpecification)
The parameters used when importing the bot or bot locale.
This is a convenience 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)StartImportResponse.Builder mergeStrategy(String mergeStrategy)
The strategy used when there was 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 used when there was 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,
MergeStrategyStartImportResponse.Builder mergeStrategy(MergeStrategy mergeStrategy)
The strategy used when there was 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 used when there was 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,
MergeStrategyStartImportResponse.Builder importStatus(String importStatus)
The current status of the import. When the status is Complete the bot or bot alias is ready to
use.
importStatus - The current status of the import. When the status is Complete the bot or bot alias is
ready to use.ImportStatus,
ImportStatusStartImportResponse.Builder importStatus(ImportStatus importStatus)
The current status of the import. When the status is Complete the bot or bot alias is ready to
use.
importStatus - The current status of the import. When the status is Complete the bot or bot alias is
ready to use.ImportStatus,
ImportStatusStartImportResponse.Builder creationDateTime(Instant creationDateTime)
The date and time that the import request was created.
creationDateTime - The date and time that the import request was created.Copyright © 2021. All rights reserved.