@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeExportResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeExportResult() |
Modifier and Type | Method and Description |
---|---|
DescribeExportResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDateTime()
The date and time that the export was created.
|
String |
getDownloadUrl()
A pre-signed S3 URL that points to the bot or bot locale archive.
|
String |
getExportId()
The unique identifier of the described export.
|
String |
getExportStatus()
The status of the export.
|
List<String> |
getFailureReasons()
If the
exportStatus is failed, contains one or more reasons why the export could not be completed. |
String |
getFileFormat()
The file format used in the files that describe the resource.
|
Date |
getLastUpdatedDateTime()
The last date and time that the export was updated.
|
ExportResourceSpecification |
getResourceSpecification()
The bot, bot ID, and optional locale ID of the exported bot or bot locale.
|
int |
hashCode() |
void |
setCreationDateTime(Date creationDateTime)
The date and time that the export was created.
|
void |
setDownloadUrl(String downloadUrl)
A pre-signed S3 URL that points to the bot or bot locale archive.
|
void |
setExportId(String exportId)
The unique identifier of the described export.
|
void |
setExportStatus(String exportStatus)
The status of the export.
|
void |
setFailureReasons(Collection<String> failureReasons)
If the
exportStatus is failed, contains one or more reasons why the export could not be completed. |
void |
setFileFormat(String fileFormat)
The file format used in the files that describe the resource.
|
void |
setLastUpdatedDateTime(Date lastUpdatedDateTime)
The last date and time that the export was updated.
|
void |
setResourceSpecification(ExportResourceSpecification resourceSpecification)
The bot, bot ID, and optional locale ID of the exported bot or bot locale.
|
String |
toString()
Returns a string representation of this object.
|
DescribeExportResult |
withCreationDateTime(Date creationDateTime)
The date and time that the export was created.
|
DescribeExportResult |
withDownloadUrl(String downloadUrl)
A pre-signed S3 URL that points to the bot or bot locale archive.
|
DescribeExportResult |
withExportId(String exportId)
The unique identifier of the described export.
|
DescribeExportResult |
withExportStatus(ExportStatus exportStatus)
The status of the export.
|
DescribeExportResult |
withExportStatus(String exportStatus)
The status of the export.
|
DescribeExportResult |
withFailureReasons(Collection<String> failureReasons)
If the
exportStatus is failed, contains one or more reasons why the export could not be completed. |
DescribeExportResult |
withFailureReasons(String... failureReasons)
If the
exportStatus is failed, contains one or more reasons why the export could not be completed. |
DescribeExportResult |
withFileFormat(ImportExportFileFormat fileFormat)
The file format used in the files that describe the resource.
|
DescribeExportResult |
withFileFormat(String fileFormat)
The file format used in the files that describe the resource.
|
DescribeExportResult |
withLastUpdatedDateTime(Date lastUpdatedDateTime)
The last date and time that the export was updated.
|
DescribeExportResult |
withResourceSpecification(ExportResourceSpecification resourceSpecification)
The bot, bot ID, and optional locale ID of the exported bot or bot locale.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setExportId(String exportId)
The unique identifier of the described export.
exportId
- The unique identifier of the described export.public String getExportId()
The unique identifier of the described export.
public DescribeExportResult withExportId(String exportId)
The unique identifier of the described export.
exportId
- The unique identifier of the described export.public void setResourceSpecification(ExportResourceSpecification resourceSpecification)
The bot, bot ID, and optional locale ID of the exported bot or bot locale.
resourceSpecification
- The bot, bot ID, and optional locale ID of the exported bot or bot locale.public ExportResourceSpecification getResourceSpecification()
The bot, bot ID, and optional locale ID of the exported bot or bot locale.
public DescribeExportResult withResourceSpecification(ExportResourceSpecification resourceSpecification)
The bot, bot ID, and optional locale ID of the exported bot or bot locale.
resourceSpecification
- The bot, bot ID, and optional locale ID of the exported bot or bot locale.public void setFileFormat(String fileFormat)
The file format used in the files that describe the resource.
fileFormat
- The file format used in the files that describe the resource.ImportExportFileFormat
public String getFileFormat()
The file format used in the files that describe the resource.
ImportExportFileFormat
public DescribeExportResult withFileFormat(String fileFormat)
The file format used in the files that describe the resource.
fileFormat
- The file format used in the files that describe the resource.ImportExportFileFormat
public DescribeExportResult withFileFormat(ImportExportFileFormat fileFormat)
The file format used in the files that describe the resource.
fileFormat
- The file format used in the files that describe the resource.ImportExportFileFormat
public void setExportStatus(String exportStatus)
The status of the export. When the status is Complete
the export archive file is available for
download.
exportStatus
- The status of the export. When the status is Complete
the export archive file is available
for download.ExportStatus
public String getExportStatus()
The status of the export. When the status is Complete
the export archive file is available for
download.
Complete
the export archive file is available
for download.ExportStatus
public DescribeExportResult withExportStatus(String exportStatus)
The status of the export. When the status is Complete
the export archive file is available for
download.
exportStatus
- The status of the export. When the status is Complete
the export archive file is available
for download.ExportStatus
public DescribeExportResult withExportStatus(ExportStatus exportStatus)
The status of the export. When the status is Complete
the export archive file is available for
download.
exportStatus
- The status of the export. When the status is Complete
the export archive file is available
for download.ExportStatus
public List<String> getFailureReasons()
If the exportStatus
is failed, contains one or more reasons why the export could not be completed.
exportStatus
is failed, contains one or more reasons why the export could not be
completed.public void setFailureReasons(Collection<String> failureReasons)
If the exportStatus
is failed, contains one or more reasons why the export could not be completed.
failureReasons
- If the exportStatus
is failed, contains one or more reasons why the export could not be
completed.public DescribeExportResult withFailureReasons(String... failureReasons)
If the exportStatus
is failed, contains one or more reasons why the export could not be completed.
NOTE: This method appends the values to the existing list (if any). Use
setFailureReasons(java.util.Collection)
or withFailureReasons(java.util.Collection)
if you want
to override the existing values.
failureReasons
- If the exportStatus
is failed, contains one or more reasons why the export could not be
completed.public DescribeExportResult withFailureReasons(Collection<String> failureReasons)
If the exportStatus
is failed, contains one or more reasons why the export could not be completed.
failureReasons
- If the exportStatus
is failed, contains one or more reasons why the export could not be
completed.public void setDownloadUrl(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.
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.public String getDownloadUrl()
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.
DescribeExport
operation.public DescribeExportResult withDownloadUrl(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.
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.public void setCreationDateTime(Date creationDateTime)
The date and time that the export was created.
creationDateTime
- The date and time that the export was created.public Date getCreationDateTime()
The date and time that the export was created.
public DescribeExportResult withCreationDateTime(Date creationDateTime)
The date and time that the export was created.
creationDateTime
- The date and time that the export was created.public void setLastUpdatedDateTime(Date lastUpdatedDateTime)
The last date and time that the export was updated.
lastUpdatedDateTime
- The last date and time that the export was updated.public Date getLastUpdatedDateTime()
The last date and time that the export was updated.
public DescribeExportResult withLastUpdatedDateTime(Date lastUpdatedDateTime)
The last date and time that the export was updated.
lastUpdatedDateTime
- The last date and time that the export was updated.public String toString()
toString
in class Object
Object.toString()
public DescribeExportResult clone()