Interface DescribeExportResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeExportResponse.Builder,DescribeExportResponse>,LexModelsV2Response.Builder,SdkBuilder<DescribeExportResponse.Builder,DescribeExportResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeExportResponse
public static interface DescribeExportResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<DescribeExportResponse.Builder,DescribeExportResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeExportResponse.BuildercreationDateTime(Instant creationDateTime)The date and time that the export was created.DescribeExportResponse.BuilderdownloadUrl(String downloadUrl)A pre-signed S3 URL that points to the bot or bot locale archive.DescribeExportResponse.BuilderexportId(String exportId)The unique identifier of the described export.DescribeExportResponse.BuilderexportStatus(String exportStatus)The status of the export.DescribeExportResponse.BuilderexportStatus(ExportStatus exportStatus)The status of the export.DescribeExportResponse.BuilderfailureReasons(String... failureReasons)If theexportStatusis failed, contains one or more reasons why the export could not be completed.DescribeExportResponse.BuilderfailureReasons(Collection<String> failureReasons)If theexportStatusis failed, contains one or more reasons why the export could not be completed.DescribeExportResponse.BuilderfileFormat(String fileFormat)The file format used in the files that describe the resource.DescribeExportResponse.BuilderfileFormat(ImportExportFileFormat fileFormat)The file format used in the files that describe the resource.DescribeExportResponse.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)The last date and time that the export was updated.default DescribeExportResponse.BuilderresourceSpecification(Consumer<ExportResourceSpecification.Builder> resourceSpecification)The bot, bot ID, and optional locale ID of the exported bot or bot locale.DescribeExportResponse.BuilderresourceSpecification(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 Detail
-
exportId
DescribeExportResponse.Builder exportId(String 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.Builderavoiding the need to create one manually viaExportResourceSpecification.builder().When the
Consumercompletes,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:
resourceSpecification(ExportResourceSpecification)
-
fileFormat
DescribeExportResponse.Builder fileFormat(String 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:
ImportExportFileFormat,ImportExportFileFormat
-
fileFormat
DescribeExportResponse.Builder fileFormat(ImportExportFileFormat 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:
ImportExportFileFormat,ImportExportFileFormat
-
exportStatus
DescribeExportResponse.Builder exportStatus(String exportStatus)
The status of the export. When the status is
Completethe export archive file is available for download.- Parameters:
exportStatus- The status of the export. When the status isCompletethe 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,ExportStatus
-
exportStatus
DescribeExportResponse.Builder exportStatus(ExportStatus exportStatus)
The status of the export. When the status is
Completethe export archive file is available for download.- Parameters:
exportStatus- The status of the export. When the status isCompletethe 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,ExportStatus
-
failureReasons
DescribeExportResponse.Builder failureReasons(Collection<String> failureReasons)
If the
exportStatusis failed, contains one or more reasons why the export could not be completed.- Parameters:
failureReasons- If theexportStatusis 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
DescribeExportResponse.Builder failureReasons(String... failureReasons)
If the
exportStatusis failed, contains one or more reasons why the export could not be completed.- Parameters:
failureReasons- If theexportStatusis 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
DescribeExportResponse.Builder downloadUrl(String 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
DescribeExportoperation.- 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 theDescribeExportoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
DescribeExportResponse.Builder creationDateTime(Instant 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
DescribeExportResponse.Builder lastUpdatedDateTime(Instant 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.
-
-