Interface DescribeExportResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeExportResponse.Builder,
,DescribeExportResponse> LexModelsV2Response.Builder
,SdkBuilder<DescribeExportResponse.Builder,
,DescribeExportResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeExportResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationDateTime
(Instant creationDateTime) The date and time that the export was created.downloadUrl
(String downloadUrl) A pre-signed S3 URL that points to the bot or bot locale archive.The unique identifier of the described export.exportStatus
(String exportStatus) The status of the export.exportStatus
(ExportStatus exportStatus) The status of the export.failureReasons
(String... failureReasons) If theexportStatus
is failed, contains one or more reasons why the export could not be completed.failureReasons
(Collection<String> failureReasons) If theexportStatus
is failed, contains one or more reasons why the export could not be completed.fileFormat
(String fileFormat) The file format used in the files that describe the resource.fileFormat
(ImportExportFileFormat fileFormat) The file format used in the files that describe the resource.lastUpdatedDateTime
(Instant lastUpdatedDateTime) The last date and time that the export was updated.default DescribeExportResponse.Builder
resourceSpecification
(Consumer<ExportResourceSpecification.Builder> resourceSpecification) The bot, bot ID, and optional locale ID of the exported bot or bot locale.resourceSpecification
(ExportResourceSpecification resourceSpecification) The bot, bot ID, and optional locale ID of the exported bot or 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 of the described export.
- Parameters:
exportId
- The unique identifier of the described export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpecification
DescribeExportResponse.Builder resourceSpecification(ExportResourceSpecification resourceSpecification) The bot, bot ID, and optional locale ID of the exported bot or bot locale.
- Parameters:
resourceSpecification
- The bot, bot ID, and optional locale ID of the exported bot or bot locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpecification
default DescribeExportResponse.Builder resourceSpecification(Consumer<ExportResourceSpecification.Builder> resourceSpecification) The bot, bot ID, and optional locale ID of the exported bot or 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 in the files that describe the resource.
- Parameters:
fileFormat
- The file format used in the files that describe the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileFormat
The file format used in the files that describe the resource.
- Parameters:
fileFormat
- The file format used in the files that describe the resource.- 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
Complete
the export archive file is available for download.- Parameters:
exportStatus
- The status of the export. When the status isComplete
the export archive file 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
Complete
the export archive file is available for download.- Parameters:
exportStatus
- The status of the export. When the status isComplete
the export archive file is available for download.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReasons
If the
exportStatus
is failed, contains one or more reasons why the export could not be completed.- Parameters:
failureReasons
- If theexportStatus
is failed, contains one or more reasons why the export could not be completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
If the
exportStatus
is failed, contains one or more reasons why the export could not be completed.- Parameters:
failureReasons
- If theexportStatus
is failed, contains one or more reasons why the export could not be completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
downloadUrl
A pre-signed S3 URL that points to the bot or bot locale archive. The URL is only available for 5 minutes after calling the
DescribeExport
operation.- Parameters:
downloadUrl
- A pre-signed S3 URL that points to the bot or bot locale archive. The URL is only available for 5 minutes after calling theDescribeExport
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 last date and time that the export was updated.
- Parameters:
lastUpdatedDateTime
- The last date and time that the export was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-