Interface CreateExportResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateExportResponse.Builder,
,CreateExportResponse> LexModelsV2Response.Builder
,SdkBuilder<CreateExportResponse.Builder,
,CreateExportResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateExportResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationDateTime
(Instant creationDateTime) The date and time that the request to export a bot was created.An identifier for a specific request to create an 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 bot or bot locale definition files.fileFormat
(ImportExportFileFormat fileFormat) The file format used for the bot or bot locale definition files.default CreateExportResponse.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
An identifier for a specific request to create an export.
- Parameters:
exportId
- An identifier for a specific request to create an export.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSpecification
CreateExportResponse.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 CreateExportResponse.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 bot or bot locale definition files.
- Parameters:
fileFormat
- The file format used for the bot or bot locale definition files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fileFormat
The file format used for the bot or bot locale definition files.
- Parameters:
fileFormat
- The file format used for the bot or bot locale definition files.- 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
, you can use the DescribeExport operation to get the pre-signed S3 URL link to your exported bot or bot locale.- Parameters:
exportStatus
- The status of the export. When the status isCompleted
, you can use the DescribeExport operation to get the pre-signed S3 URL link to your exported bot or bot locale.- 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
, you can use the DescribeExport operation to get the pre-signed S3 URL link to your exported bot or bot locale.- Parameters:
exportStatus
- The status of the export. When the status isCompleted
, you can use the DescribeExport operation to get the pre-signed S3 URL link to your exported bot or bot locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationDateTime
The date and time that the request to export a bot was created.
- Parameters:
creationDateTime
- The date and time that the request to export a bot was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-