Interface StartImportResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartImportResponse.Builder,StartImportResponse>,LexModelsV2Response.Builder,SdkBuilder<StartImportResponse.Builder,StartImportResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- StartImportResponse
public static interface StartImportResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<StartImportResponse.Builder,StartImportResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartImportResponse.BuildercreationDateTime(Instant creationDateTime)The date and time that the import request was created.StartImportResponse.BuilderimportId(String importId)A unique identifier for the import.StartImportResponse.BuilderimportStatus(String importStatus)The current status of the import.StartImportResponse.BuilderimportStatus(ImportStatus importStatus)The current status of the import.StartImportResponse.BuildermergeStrategy(String mergeStrategy)The strategy used when there was a name conflict between the imported resource and an existing resource.StartImportResponse.BuildermergeStrategy(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.StartImportResponse.BuilderresourceSpecification(ImportResourceSpecification resourceSpecification)The parameters used when importing the resource.-
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
StartImportResponse.Builder importId(String 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:
resourceSpecification(ImportResourceSpecification)
-
mergeStrategy
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
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
StartImportResponse.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
StartImportResponse.Builder importStatus(String 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,ImportStatus
-
importStatus
StartImportResponse.Builder importStatus(ImportStatus 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,ImportStatus
-
creationDateTime
StartImportResponse.Builder creationDateTime(Instant 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.
-
-