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.BuilderresourceSpecification(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
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.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:
-
fileFormat
The file format used for the files that define the resource. The
TSVformat is required to export a custom vocabulary only; otherwise useLexJsonformat.- Parameters:
fileFormat- The file format used for the files that define the resource. TheTSVformat is required to export a custom vocabulary only; otherwise useLexJsonformat.- 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
TSVformat is required to export a custom vocabulary only; otherwise useLexJsonformat.- Parameters:
fileFormat- The file format used for the files that define the resource. TheTSVformat is required to export a custom vocabulary only; otherwise useLexJsonformat.- 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
Completedthe export archive is available for download.- Parameters:
exportStatus- The status of the export. When the status isCompletedthe 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
Completedthe export archive is available for download.- Parameters:
exportStatus- The status of the export. When the status isCompletedthe 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.
-