Interface StartImportResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartImportResponse.Builder,,StartImportResponse> LexModelsV2Response.Builder,SdkBuilder<StartImportResponse.Builder,,StartImportResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
StartImportResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationDateTime(Instant creationDateTime) The date and time that the import request was created.A unique identifier for the import.importStatus(String importStatus) The current status of the import.importStatus(ImportStatus importStatus) The current status of the import.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 StartImportResponse.BuilderresourceSpecification(Consumer<ImportResourceSpecification.Builder> resourceSpecification) The parameters used when importing the resource.resourceSpecification(ImportResourceSpecification resourceSpecification) The parameters used when importing the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
importId
A unique identifier for the import.
- Parameters:
importId- A unique identifier for the import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpecification
StartImportResponse.Builder resourceSpecification(ImportResourceSpecification resourceSpecification) The parameters used when importing the resource.
- Parameters:
resourceSpecification- The parameters used when importing the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpecification
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.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:
-
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
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:
-
importStatus
The current status of the import. When the status is
Completethe bot, bot alias, or custom vocabulary is ready to use.- Parameters:
importStatus- The current status of the import. When the status isCompletethe bot, bot alias, or custom vocabulary is ready to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
importStatus
The current status of the import. When the status is
Completethe bot, bot alias, or custom vocabulary is ready to use.- Parameters:
importStatus- The current status of the import. When the status isCompletethe bot, bot alias, or custom vocabulary is ready to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationDateTime
The date and time that the import request was created.
- Parameters:
creationDateTime- The date and time that the import request was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-