@Generated(value="software.amazon.awssdk:codegen") public final class GetExportResponse extends LexModelBuildingResponse implements ToCopyableBuilder<GetExportResponse.Builder,GetExportResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetExportResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetExportResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ExportStatus |
exportStatus()
The status of the export.
|
String |
exportStatusAsString()
The status of the export.
|
ExportType |
exportType()
The format of the exported data.
|
String |
exportTypeAsString()
The format of the exported data.
|
String |
failureReason()
If
status is FAILED, Amazon Lex provides the reason that it failed to export the
resource. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the bot being exported.
|
ResourceType |
resourceType()
The type of the exported resource.
|
String |
resourceTypeAsString()
The type of the exported resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetExportResponse.Builder> |
serializableBuilderClass() |
GetExportResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
url()
An S3 pre-signed URL that provides the location of the exported resource.
|
String |
version()
The version of the bot being exported.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the bot being exported.
public final String version()
The version of the bot being exported.
public final ResourceType resourceType()
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().
ResourceTypepublic 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().
ResourceTypepublic 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().
ExportTypepublic 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().
ExportTypepublic 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().
IN_PROGRESS - The export is in progress.
READY - The export is complete.
FAILED - The export could not be completed.
ExportStatuspublic 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().
IN_PROGRESS - The export is in progress.
READY - The export is complete.
FAILED - The export could not be completed.
ExportStatuspublic final String failureReason()
If status is FAILED, Amazon Lex provides the reason that it failed to export the
resource.
status is FAILED, Amazon Lex provides the reason that it failed to export
the resource.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.
public GetExportResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetExportResponse.Builder,GetExportResponse>toBuilder in class AwsResponsepublic static GetExportResponse.Builder builder()
public static Class<? extends GetExportResponse.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 © 2023. All rights reserved.