Interface CreateExportResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateExportResponse.Builder,CreateExportResponse>,LexModelsV2Response.Builder,SdkBuilder<CreateExportResponse.Builder,CreateExportResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateExportResponse
public static interface CreateExportResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<CreateExportResponse.Builder,CreateExportResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateExportResponse.BuildercreationDateTime(Instant creationDateTime)The date and time that the request to export a bot was created.CreateExportResponse.BuilderexportId(String exportId)An identifier for a specific request to create an export.CreateExportResponse.BuilderexportStatus(String exportStatus)The status of the export.CreateExportResponse.BuilderexportStatus(ExportStatus exportStatus)The status of the export.CreateExportResponse.BuilderfileFormat(String fileFormat)The file format used for the bot or bot locale definition files.CreateExportResponse.BuilderfileFormat(ImportExportFileFormat fileFormat)The file format used for the bot or bot locale definition files.default CreateExportResponse.BuilderresourceSpecification(Consumer<ExportResourceSpecification.Builder> resourceSpecification)A description of the type of resource that was exported, either a bot or a bot locale.CreateExportResponse.BuilderresourceSpecification(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 Detail
-
exportId
CreateExportResponse.Builder exportId(String 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.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
CreateExportResponse.Builder fileFormat(String 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:
ImportExportFileFormat,ImportExportFileFormat
-
fileFormat
CreateExportResponse.Builder fileFormat(ImportExportFileFormat 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:
ImportExportFileFormat,ImportExportFileFormat
-
exportStatus
CreateExportResponse.Builder exportStatus(String 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,ExportStatus
-
exportStatus
CreateExportResponse.Builder exportStatus(ExportStatus 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,ExportStatus
-
creationDateTime
CreateExportResponse.Builder creationDateTime(Instant 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.
-
-