Interface StartImportResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StartImportResponse.Builder,StartImportResponse>,LexModelBuildingResponse.Builder,SdkBuilder<StartImportResponse.Builder,StartImportResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- StartImportResponse
public static interface StartImportResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<StartImportResponse.Builder,StartImportResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartImportResponse.BuildercreatedDate(Instant createdDate)A timestamp for the date and time that the import job was requested.StartImportResponse.BuilderimportId(String importId)The identifier for the specific import job.StartImportResponse.BuilderimportStatus(String importStatus)The status of the import job.StartImportResponse.BuilderimportStatus(ImportStatus importStatus)The status of the import job.StartImportResponse.BuildermergeStrategy(String mergeStrategy)The action to take when there is a merge conflict.StartImportResponse.BuildermergeStrategy(MergeStrategy mergeStrategy)The action to take when there is a merge conflict.StartImportResponse.Buildername(String name)The name given to the import job.StartImportResponse.BuilderresourceType(String resourceType)The type of resource to import.StartImportResponse.BuilderresourceType(ResourceType resourceType)The type of resource to import.StartImportResponse.Buildertags(Collection<Tag> tags)A list of tags added to the imported bot.StartImportResponse.Buildertags(Consumer<Tag.Builder>... tags)A list of tags added to the imported bot.StartImportResponse.Buildertags(Tag... tags)A list of tags added to the imported bot.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse.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
-
name
StartImportResponse.Builder name(String name)
The name given to the import job.
- Parameters:
name- The name given to the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
StartImportResponse.Builder resourceType(String resourceType)
The type of resource to import.
- Parameters:
resourceType- The type of resource to import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
resourceType
StartImportResponse.Builder resourceType(ResourceType resourceType)
The type of resource to import.
- Parameters:
resourceType- The type of resource to import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
mergeStrategy
StartImportResponse.Builder mergeStrategy(String mergeStrategy)
The action to take when there is a merge conflict.
- Parameters:
mergeStrategy- The action to take when there is a merge conflict.- 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 action to take when there is a merge conflict.
- Parameters:
mergeStrategy- The action to take when there is a merge conflict.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MergeStrategy,MergeStrategy
-
importId
StartImportResponse.Builder importId(String importId)
The identifier for the specific import job.
- Parameters:
importId- The identifier for the specific import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importStatus
StartImportResponse.Builder importStatus(String importStatus)
The status of the import job. If the status is
FAILED, you can get the reason for the failure using theGetImportoperation.- Parameters:
importStatus- The status of the import job. If the status isFAILED, you can get the reason for the failure using theGetImportoperation.- 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 status of the import job. If the status is
FAILED, you can get the reason for the failure using theGetImportoperation.- Parameters:
importStatus- The status of the import job. If the status isFAILED, you can get the reason for the failure using theGetImportoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImportStatus,ImportStatus
-
tags
StartImportResponse.Builder tags(Collection<Tag> tags)
A list of tags added to the imported bot.
- Parameters:
tags- A list of tags added to the imported bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
StartImportResponse.Builder tags(Tag... tags)
A list of tags added to the imported bot.
- Parameters:
tags- A list of tags added to the imported bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
StartImportResponse.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags added to the imported bot.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
createdDate
StartImportResponse.Builder createdDate(Instant createdDate)
A timestamp for the date and time that the import job was requested.
- Parameters:
createdDate- A timestamp for the date and time that the import job was requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-