Class GetExportResponse

    • Method Detail

      • name

        public final String name()

        The name of the bot being exported.

        Returns:
        The name of the bot being exported.
      • version

        public final String version()

        The version of the bot being exported.

        Returns:
        The version of the bot being exported.
      • resourceTypeAsString

        public final String resourceTypeAsString()

        The type of the exported resource.

        If the service returns an enum value that is not available in the current SDK version, resourceType will return ResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from resourceTypeAsString().

        Returns:
        The type of the exported resource.
        See Also:
        ResourceType
      • exportType

        public final ExportType exportType()

        The format of the exported data.

        If the service returns an enum value that is not available in the current SDK version, exportType will return ExportType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from exportTypeAsString().

        Returns:
        The format of the exported data.
        See Also:
        ExportType
      • exportTypeAsString

        public final String exportTypeAsString()

        The format of the exported data.

        If the service returns an enum value that is not available in the current SDK version, exportType will return ExportType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from exportTypeAsString().

        Returns:
        The format of the exported data.
        See Also:
        ExportType
      • exportStatus

        public final ExportStatus exportStatus()

        The status of the export.

        • IN_PROGRESS - The export is in progress.

        • READY - The export is complete.

        • FAILED - The export could not be completed.

        If the service returns an enum value that is not available in the current SDK version, exportStatus will return ExportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from exportStatusAsString().

        Returns:
        The status of the export.

        • IN_PROGRESS - The export is in progress.

        • READY - The export is complete.

        • FAILED - The export could not be completed.

        See Also:
        ExportStatus
      • exportStatusAsString

        public final String exportStatusAsString()

        The status of the export.

        • IN_PROGRESS - The export is in progress.

        • READY - The export is complete.

        • FAILED - The export could not be completed.

        If the service returns an enum value that is not available in the current SDK version, exportStatus will return ExportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from exportStatusAsString().

        Returns:
        The status of the export.

        • IN_PROGRESS - The export is in progress.

        • READY - The export is complete.

        • FAILED - The export could not be completed.

        See Also:
        ExportStatus
      • failureReason

        public final String failureReason()

        If status is FAILED, Amazon Lex provides the reason that it failed to export the resource.

        Returns:
        If status is FAILED, Amazon Lex provides the reason that it failed to export the resource.
      • url

        public final String url()

        An S3 pre-signed URL that provides the location of the exported resource. The exported resource is a ZIP archive that contains the exported resource in JSON format. The structure of the archive may change. Your code should not rely on the archive structure.

        Returns:
        An S3 pre-signed URL that provides the location of the exported resource. The exported resource is a ZIP archive that contains the exported resource in JSON format. The structure of the archive may change. Your code should not rely on the archive structure.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object