Interface GetImportResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetImportResponse.Builder,GetImportResponse>,LexModelBuildingResponse.Builder,SdkBuilder<GetImportResponse.Builder,GetImportResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetImportResponse
public static interface GetImportResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetImportResponse.Builder,GetImportResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetImportResponse.BuildercreatedDate(Instant createdDate)A timestamp for the date and time that the import job was created.GetImportResponse.BuilderfailureReason(String... failureReason)A string that describes why an import job failed to complete.GetImportResponse.BuilderfailureReason(Collection<String> failureReason)A string that describes why an import job failed to complete.GetImportResponse.BuilderimportId(String importId)The identifier for the specific import job.GetImportResponse.BuilderimportStatus(String importStatus)The status of the import job.GetImportResponse.BuilderimportStatus(ImportStatus importStatus)The status of the import job.GetImportResponse.BuildermergeStrategy(String mergeStrategy)The action taken when there was a conflict between an existing resource and a resource in the import file.GetImportResponse.BuildermergeStrategy(MergeStrategy mergeStrategy)The action taken when there was a conflict between an existing resource and a resource in the import file.GetImportResponse.Buildername(String name)The name given to the import job.GetImportResponse.BuilderresourceType(String resourceType)The type of resource imported.GetImportResponse.BuilderresourceType(ResourceType resourceType)The type of resource imported.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
name
GetImportResponse.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
GetImportResponse.Builder resourceType(String resourceType)
The type of resource imported.
- Parameters:
resourceType- The type of resource imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
resourceType
GetImportResponse.Builder resourceType(ResourceType resourceType)
The type of resource imported.
- Parameters:
resourceType- The type of resource imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
mergeStrategy
GetImportResponse.Builder mergeStrategy(String mergeStrategy)
The action taken when there was a conflict between an existing resource and a resource in the import file.
- Parameters:
mergeStrategy- The action taken when there was a conflict between an existing resource and a resource in the import file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MergeStrategy,MergeStrategy
-
mergeStrategy
GetImportResponse.Builder mergeStrategy(MergeStrategy mergeStrategy)
The action taken when there was a conflict between an existing resource and a resource in the import file.
- Parameters:
mergeStrategy- The action taken when there was a conflict between an existing resource and a resource in the import file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MergeStrategy,MergeStrategy
-
importId
GetImportResponse.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
GetImportResponse.Builder importStatus(String importStatus)
The status of the import job. If the status is
FAILED, you can get the reason for the failure from thefailureReasonfield.- Parameters:
importStatus- The status of the import job. If the status isFAILED, you can get the reason for the failure from thefailureReasonfield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImportStatus,ImportStatus
-
importStatus
GetImportResponse.Builder importStatus(ImportStatus importStatus)
The status of the import job. If the status is
FAILED, you can get the reason for the failure from thefailureReasonfield.- Parameters:
importStatus- The status of the import job. If the status isFAILED, you can get the reason for the failure from thefailureReasonfield.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImportStatus,ImportStatus
-
failureReason
GetImportResponse.Builder failureReason(Collection<String> failureReason)
A string that describes why an import job failed to complete.
- Parameters:
failureReason- A string that describes why an import job failed to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
GetImportResponse.Builder failureReason(String... failureReason)
A string that describes why an import job failed to complete.
- Parameters:
failureReason- A string that describes why an import job failed to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdDate
GetImportResponse.Builder createdDate(Instant createdDate)
A timestamp for the date and time that the import job was created.
- Parameters:
createdDate- A timestamp for the date and time that the import job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-