Interface UpdateExportResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateExportResponse.Builder,
,UpdateExportResponse> LexModelsV2Response.Builder
,SdkBuilder<UpdateExportResponse.Builder,
,UpdateExportResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateExportResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationDateTime
(Instant creationDateTime) The date and time that the export was created.The unique identifier Amazon Lex assigned to the export.exportStatus
(String exportStatus) The status of the export.exportStatus
(ExportStatus exportStatus) The status of the export.fileFormat
(String fileFormat) The file format used for the files that define the resource.fileFormat
(ImportExportFileFormat fileFormat) The file format used for the files that define the resource.lastUpdatedDateTime
(Instant lastUpdatedDateTime) The date and time that the export was last updated.default UpdateExportResponse.Builder
resourceSpecification
(Consumer<ExportResourceSpecification.Builder> resourceSpecification) A description of the type of resource that was exported, either a bot or a bot locale.resourceSpecification
(ExportResourceSpecification resourceSpecification) A description of the type of resource that was exported, either a bot or a bot locale.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 Details
-
exportId
The unique identifier Amazon Lex assigned to the export.
- Parameters:
exportId
- The unique identifier Amazon Lex assigned to the export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpecification
UpdateExportResponse.Builder resourceSpecification(ExportResourceSpecification resourceSpecification) A description of the type of resource that was exported, either a bot or a bot locale.
- Parameters:
resourceSpecification
- A description of the type of resource that was exported, either a bot or a bot locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpecification
default UpdateExportResponse.Builder resourceSpecification(Consumer<ExportResourceSpecification.Builder> resourceSpecification) A description of the type of resource that was exported, either a bot or a bot locale.
This is a convenience method that creates an instance of theExportResourceSpecification.Builder
avoiding the need to create one manually viaExportResourceSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourceSpecification(ExportResourceSpecification)
.- Parameters:
resourceSpecification
- a consumer that will call methods onExportResourceSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileFormat
The file format used for the files that define the resource. The
TSV
format is required to export a custom vocabulary only; otherwise useLexJson
format.- Parameters:
fileFormat
- The file format used for the files that define the resource. TheTSV
format is required to export a custom vocabulary only; otherwise useLexJson
format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileFormat
The file format used for the files that define the resource. The
TSV
format is required to export a custom vocabulary only; otherwise useLexJson
format.- Parameters:
fileFormat
- The file format used for the files that define the resource. TheTSV
format is required to export a custom vocabulary only; otherwise useLexJson
format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exportStatus
The status of the export. When the status is
Completed
the export archive is available for download.- Parameters:
exportStatus
- The status of the export. When the status isCompleted
the export archive is available for download.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exportStatus
The status of the export. When the status is
Completed
the export archive is available for download.- Parameters:
exportStatus
- The status of the export. When the status isCompleted
the export archive is available for download.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationDateTime
The date and time that the export was created.
- Parameters:
creationDateTime
- The date and time that the export was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDateTime
The date and time that the export was last updated.
- Parameters:
lastUpdatedDateTime
- The date and time that the export was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-