@Generated(value="software.amazon.awssdk:codegen") public final class DescribeExportResponse extends LexModelsV2Response implements ToCopyableBuilder<DescribeExportResponse.Builder,DescribeExportResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeExportResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeExportResponse.Builder |
builder() |
Instant |
creationDateTime()
The date and time that the export was created.
|
String |
downloadUrl()
A pre-signed S3 URL that points to the bot or bot locale archive.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
exportId()
The unique identifier of the described export.
|
ExportStatus |
exportStatus()
The status of the export.
|
String |
exportStatusAsString()
The status of the export.
|
List<String> |
failureReasons()
If the
exportStatus is failed, contains one or more reasons why the export could not be completed. |
ImportExportFileFormat |
fileFormat()
The file format used in the files that describe the bot or bot locale.
|
String |
fileFormatAsString()
The file format used in the files that describe the bot or bot locale.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFailureReasons()
Returns true if the FailureReasons property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
Instant |
lastUpdatedDateTime()
The last date and time that the export was updated.
|
ExportResourceSpecification |
resourceSpecification()
The bot, bot ID, and optional locale ID of the exported bot or bot locale.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeExportResponse.Builder> |
serializableBuilderClass() |
DescribeExportResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String exportId()
The unique identifier of the described export.
public final ExportResourceSpecification resourceSpecification()
The bot, bot ID, and optional locale ID of the exported bot or bot locale.
public final ImportExportFileFormat fileFormat()
The file format used in the files that describe the bot or bot locale.
If the service returns an enum value that is not available in the current SDK version, fileFormat will
return ImportExportFileFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from fileFormatAsString().
ImportExportFileFormatpublic final String fileFormatAsString()
The file format used in the files that describe the bot or bot locale.
If the service returns an enum value that is not available in the current SDK version, fileFormat will
return ImportExportFileFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from fileFormatAsString().
ImportExportFileFormatpublic final ExportStatus exportStatus()
The status of the export. When the status is Complete the export archive file is available for
download.
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().
Complete the export archive file is available
for download.ExportStatuspublic final String exportStatusAsString()
The status of the export. When the status is Complete the export archive file is available for
download.
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().
Complete the export archive file is available
for download.ExportStatuspublic final boolean hasFailureReasons()
public final List<String> failureReasons()
If the exportStatus is failed, contains one or more reasons why the export could not be completed.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFailureReasons() to see if a value was sent in this field.
exportStatus is failed, contains one or more reasons why the export could not be
completed.public final 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.
DescribeExport operation.public final Instant creationDateTime()
The date and time that the export was created.
public final Instant lastUpdatedDateTime()
The last date and time that the export was updated.
public DescribeExportResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeExportResponse.Builder,DescribeExportResponse>toBuilder in class AwsResponsepublic static DescribeExportResponse.Builder builder()
public static Class<? extends DescribeExportResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.