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 Details

    • 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 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

      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:
    • 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:
    • exportStatus

      DescribeExportResponse.Builder exportStatus(String exportStatus)

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

      Parameters:
      exportStatus - The status of the export. When the status is Complete the 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

      DescribeExportResponse.Builder exportStatus(ExportStatus exportStatus)

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

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

      DescribeExportResponse.Builder failureReasons(Collection<String> failureReasons)

      If the exportStatus is failed, contains one or more reasons why the export could not be completed.

      Parameters:
      failureReasons - If the exportStatus is 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 exportStatus is failed, contains one or more reasons why the export could not be completed.

      Parameters:
      failureReasons - If the exportStatus is 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 DescribeExport operation.

      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 the DescribeExport operation.
      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.