Interface UpdateExportResponse.Builder

  • 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 the ExportResourceSpecification.Builder avoiding the need to create one manually via ExportResourceSpecification.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resourceSpecification(ExportResourceSpecification).

      Parameters:
      resourceSpecification - a consumer that will call methods on ExportResourceSpecification.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fileFormat

      UpdateExportResponse.Builder fileFormat(String fileFormat)

      The file format used for the files that define the resource. The TSV format is required to export a custom vocabulary only; otherwise use LexJson format.

      Parameters:
      fileFormat - The file format used for the files that define the resource. The TSV format is required to export a custom vocabulary only; otherwise use LexJson format.
      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 TSV format is required to export a custom vocabulary only; otherwise use LexJson format.

      Parameters:
      fileFormat - The file format used for the files that define the resource. The TSV format is required to export a custom vocabulary only; otherwise use LexJson format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • exportStatus

      UpdateExportResponse.Builder exportStatus(String exportStatus)

      The status of the export. When the status is Completed the export archive is available for download.

      Parameters:
      exportStatus - The status of the export. When the status is Completed the export archive is available for download.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • exportStatus

      UpdateExportResponse.Builder exportStatus(ExportStatus exportStatus)

      The status of the export. When the status is Completed the export archive is available for download.

      Parameters:
      exportStatus - The status of the export. When the status is Completed the export archive is available for download.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.