Interface DescribeImportResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeImportResponse.Builder,DescribeImportResponse>,LexModelsV2Response.Builder,SdkBuilder<DescribeImportResponse.Builder,DescribeImportResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeImportResponse
public static interface DescribeImportResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<DescribeImportResponse.Builder,DescribeImportResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeImportResponse.BuildercreationDateTime(Instant creationDateTime)The date and time that the import was created.DescribeImportResponse.BuilderfailureReasons(String... failureReasons)If theimportStatusfield isFailed, this provides one or more reasons for the failure.DescribeImportResponse.BuilderfailureReasons(Collection<String> failureReasons)If theimportStatusfield isFailed, this provides one or more reasons for the failure.DescribeImportResponse.BuilderimportedResourceId(String importedResourceId)The unique identifier that Amazon Lex assigned to the resource created by the import.DescribeImportResponse.BuilderimportedResourceName(String importedResourceName)The name of the imported resource.DescribeImportResponse.BuilderimportId(String importId)The unique identifier of the described import.DescribeImportResponse.BuilderimportStatus(String importStatus)The status of the import process.DescribeImportResponse.BuilderimportStatus(ImportStatus importStatus)The status of the import process.DescribeImportResponse.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)The date and time that the import was last updated.DescribeImportResponse.BuildermergeStrategy(String mergeStrategy)The strategy used when there was a name conflict between the imported resource and an existing resource.DescribeImportResponse.BuildermergeStrategy(MergeStrategy mergeStrategy)The strategy used when there was a name conflict between the imported resource and an existing resource.default DescribeImportResponse.BuilderresourceSpecification(Consumer<ImportResourceSpecification.Builder> resourceSpecification)The specifications of the imported bot, bot locale, or custom vocabulary.DescribeImportResponse.BuilderresourceSpecification(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 Detail
-
importId
DescribeImportResponse.Builder importId(String 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.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)
-
importedResourceId
DescribeImportResponse.Builder importedResourceId(String 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
DescribeImportResponse.Builder importedResourceName(String 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
DescribeImportResponse.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
FailOnConflictexisting 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 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
DescribeImportResponse.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
FailOnConflictexisting 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 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
-
importStatus
DescribeImportResponse.Builder importStatus(String importStatus)
The status of the import process. When the status is
Completedthe resource is imported and ready for use.- Parameters:
importStatus- The status of the import process. When the status isCompletedthe 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,ImportStatus
-
importStatus
DescribeImportResponse.Builder importStatus(ImportStatus importStatus)
The status of the import process. When the status is
Completedthe resource is imported and ready for use.- Parameters:
importStatus- The status of the import process. When the status isCompletedthe 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,ImportStatus
-
failureReasons
DescribeImportResponse.Builder failureReasons(Collection<String> failureReasons)
If the
importStatusfield isFailed, this provides one or more reasons for the failure.- Parameters:
failureReasons- If theimportStatusfield 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
DescribeImportResponse.Builder failureReasons(String... failureReasons)
If the
importStatusfield isFailed, this provides one or more reasons for the failure.- Parameters:
failureReasons- If theimportStatusfield 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
DescribeImportResponse.Builder creationDateTime(Instant 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
DescribeImportResponse.Builder lastUpdatedDateTime(Instant 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.
-
-