Interface DescribeImportResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeImportResponse.Builder,
,DescribeImportResponse> LexModelsV2Response.Builder
,SdkBuilder<DescribeImportResponse.Builder,
,DescribeImportResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeImportResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationDateTime
(Instant creationDateTime) The date and time that the import was created.failureReasons
(String... failureReasons) If theimportStatus
field isFailed
, this provides one or more reasons for the failure.failureReasons
(Collection<String> failureReasons) If theimportStatus
field isFailed
, this provides one or more reasons for the failure.importedResourceId
(String importedResourceId) The unique identifier that Amazon Lex assigned to the resource created by the import.importedResourceName
(String importedResourceName) The name of the imported resource.The unique identifier of the described import.importStatus
(String importStatus) The status of the import process.importStatus
(ImportStatus importStatus) The status of the import process.lastUpdatedDateTime
(Instant lastUpdatedDateTime) The date and time that the import was last updated.mergeStrategy
(String mergeStrategy) The strategy used when there was a name conflict between the imported resource and an existing resource.mergeStrategy
(MergeStrategy mergeStrategy) The strategy used when there was a name conflict between the imported resource and an existing resource.default DescribeImportResponse.Builder
resourceSpecification
(Consumer<ImportResourceSpecification.Builder> resourceSpecification) The specifications of the imported bot, bot locale, or custom vocabulary.resourceSpecification
(ImportResourceSpecification resourceSpecification) The specifications of the imported bot, bot locale, or custom vocabulary.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
importId
The unique identifier of the described import.
- Parameters:
importId
- The unique identifier of the described import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpecification
DescribeImportResponse.Builder resourceSpecification(ImportResourceSpecification resourceSpecification) The specifications of the imported bot, bot locale, or custom vocabulary.
- Parameters:
resourceSpecification
- The specifications of the imported bot, bot locale, or custom vocabulary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpecification
default DescribeImportResponse.Builder resourceSpecification(Consumer<ImportResourceSpecification.Builder> resourceSpecification) The specifications of the imported 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 viaImportResourceSpecification.builder()
.When the
Consumer
completes,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:
-
importedResourceId
The unique identifier that Amazon Lex assigned to the resource created by the import.
- Parameters:
importedResourceId
- The unique identifier that Amazon Lex assigned to the resource created by the import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importedResourceName
The name of the imported resource.
- Parameters:
importedResourceName
- The name of the imported resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
mergeStrategy
- The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy isFailOnConflict
existing 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
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.- Parameters:
mergeStrategy
- The strategy used when there was a name conflict between the imported resource and an existing resource. When the merge strategy isFailOnConflict
existing 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:
-
importStatus
The status of the import process. When the status is
Completed
the resource is imported and ready for use.- Parameters:
importStatus
- The status of the import process. When the status isCompleted
the resource is imported and ready for use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
importStatus
The status of the import process. When the status is
Completed
the resource is imported and ready for use.- Parameters:
importStatus
- The status of the import process. When the status isCompleted
the resource is imported and ready for use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReasons
If the
importStatus
field isFailed
, this provides one or more reasons for the failure.- Parameters:
failureReasons
- If theimportStatus
field isFailed
, this provides one or more reasons for the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
If the
importStatus
field isFailed
, this provides one or more reasons for the failure.- Parameters:
failureReasons
- If theimportStatus
field isFailed
, this provides one or more reasons for the failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
The date and time that the import was created.
- Parameters:
creationDateTime
- The date and time that the import was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDateTime
The date and time that the import was last updated.
- Parameters:
lastUpdatedDateTime
- The date and time that the import was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-