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 resource.
|
StartImportResponse.Builder |
resourceSpecification(ImportResourceSpecification resourceSpecification)
The parameters used when importing the resource.
|
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 resource.
resourceSpecification - The parameters used when importing the resource.default StartImportResponse.Builder resourceSpecification(Consumer<ImportResourceSpecification.Builder> resourceSpecification)
The parameters used when importing the resource.
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)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, bot alias, or custom
vocabulary is ready to use.
importStatus - The current status of the import. When the status is Complete the bot, bot alias, or
custom vocabulary is ready to use.ImportStatus,
ImportStatusStartImportResponse.Builder importStatus(ImportStatus importStatus)
The current status of the import. When the status is Complete the bot, bot alias, or custom
vocabulary is ready to use.
importStatus - The current status of the import. When the status is Complete the bot, bot alias, or
custom vocabulary 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 © 2022. All rights reserved.