Interface UpdateExportResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateExportResponse.Builder,UpdateExportResponse>,LexModelsV2Response.Builder,SdkBuilder<UpdateExportResponse.Builder,UpdateExportResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateExportResponse
public static interface UpdateExportResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<UpdateExportResponse.Builder,UpdateExportResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateExportResponse.BuildercreationDateTime(Instant creationDateTime)The date and time that the export was created.UpdateExportResponse.BuilderexportId(String exportId)The unique identifier Amazon Lex assigned to the export.UpdateExportResponse.BuilderexportStatus(String exportStatus)The status of the export.UpdateExportResponse.BuilderexportStatus(ExportStatus exportStatus)The status of the export.UpdateExportResponse.BuilderfileFormat(String fileFormat)The file format used for the files that define the resource.UpdateExportResponse.BuilderfileFormat(ImportExportFileFormat fileFormat)The file format used for the files that define the resource.UpdateExportResponse.BuilderlastUpdatedDateTime(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.UpdateExportResponse.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
UpdateExportResponse.Builder exportId(String 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:
resourceSpecification(ExportResourceSpecification)
-
fileFormat
UpdateExportResponse.Builder fileFormat(String 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:
ImportExportFileFormat,ImportExportFileFormat
-
fileFormat
UpdateExportResponse.Builder fileFormat(ImportExportFileFormat 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:
ImportExportFileFormat,ImportExportFileFormat
-
exportStatus
UpdateExportResponse.Builder exportStatus(String 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,ExportStatus
-
exportStatus
UpdateExportResponse.Builder exportStatus(ExportStatus 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,ExportStatus
-
creationDateTime
UpdateExportResponse.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
UpdateExportResponse.Builder lastUpdatedDateTime(Instant 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.
-
-