@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetExportResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetExportResult() |
Modifier and Type | Method and Description |
---|---|
GetExportResult |
clone() |
boolean |
equals(Object obj) |
String |
getExportStatus()
The status of the export.
|
String |
getExportType()
The format of the exported data.
|
String |
getFailureReason()
If
status is FAILED , Amazon Lex provides the reason that it failed to export the
resource. |
String |
getName()
The name of the bot being exported.
|
String |
getResourceType()
The type of the exported resource.
|
String |
getUrl()
An S3 pre-signed URL that provides the location of the exported resource.
|
String |
getVersion()
The version of the bot being exported.
|
int |
hashCode() |
void |
setExportStatus(String exportStatus)
The status of the export.
|
void |
setExportType(String exportType)
The format of the exported data.
|
void |
setFailureReason(String failureReason)
If
status is FAILED , Amazon Lex provides the reason that it failed to export the
resource. |
void |
setName(String name)
The name of the bot being exported.
|
void |
setResourceType(String resourceType)
The type of the exported resource.
|
void |
setUrl(String url)
An S3 pre-signed URL that provides the location of the exported resource.
|
void |
setVersion(String version)
The version of the bot being exported.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetExportResult |
withExportStatus(ExportStatus exportStatus)
The status of the export.
|
GetExportResult |
withExportStatus(String exportStatus)
The status of the export.
|
GetExportResult |
withExportType(ExportType exportType)
The format of the exported data.
|
GetExportResult |
withExportType(String exportType)
The format of the exported data.
|
GetExportResult |
withFailureReason(String failureReason)
If
status is FAILED , Amazon Lex provides the reason that it failed to export the
resource. |
GetExportResult |
withName(String name)
The name of the bot being exported.
|
GetExportResult |
withResourceType(ResourceType resourceType)
The type of the exported resource.
|
GetExportResult |
withResourceType(String resourceType)
The type of the exported resource.
|
GetExportResult |
withUrl(String url)
An S3 pre-signed URL that provides the location of the exported resource.
|
GetExportResult |
withVersion(String version)
The version of the bot being exported.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setName(String name)
The name of the bot being exported.
name
- The name of the bot being exported.public String getName()
The name of the bot being exported.
public GetExportResult withName(String name)
The name of the bot being exported.
name
- The name of the bot being exported.public void setVersion(String version)
The version of the bot being exported.
version
- The version of the bot being exported.public String getVersion()
The version of the bot being exported.
public GetExportResult withVersion(String version)
The version of the bot being exported.
version
- The version of the bot being exported.public void setResourceType(String resourceType)
The type of the exported resource.
resourceType
- The type of the exported resource.ResourceType
public String getResourceType()
The type of the exported resource.
ResourceType
public GetExportResult withResourceType(String resourceType)
The type of the exported resource.
resourceType
- The type of the exported resource.ResourceType
public GetExportResult withResourceType(ResourceType resourceType)
The type of the exported resource.
resourceType
- The type of the exported resource.ResourceType
public void setExportType(String exportType)
The format of the exported data.
exportType
- The format of the exported data.ExportType
public String getExportType()
The format of the exported data.
ExportType
public GetExportResult withExportType(String exportType)
The format of the exported data.
exportType
- The format of the exported data.ExportType
public GetExportResult withExportType(ExportType exportType)
The format of the exported data.
exportType
- The format of the exported data.ExportType
public void setExportStatus(String 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.
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.
ExportStatus
public String getExportStatus()
The status of the export.
IN_PROGRESS
- The export is in progress.
READY
- The export is complete.
FAILED
- The export could not be completed.
IN_PROGRESS
- The export is in progress.
READY
- The export is complete.
FAILED
- The export could not be completed.
ExportStatus
public GetExportResult withExportStatus(String 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.
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.
ExportStatus
public GetExportResult withExportStatus(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.
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.
ExportStatus
public void setFailureReason(String failureReason)
If status
is FAILED
, Amazon Lex provides the reason that it failed to export the
resource.
failureReason
- If status
is FAILED
, Amazon Lex provides the reason that it failed to export the
resource.public String getFailureReason()
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 GetExportResult withFailureReason(String failureReason)
If status
is FAILED
, Amazon Lex provides the reason that it failed to export the
resource.
failureReason
- If status
is FAILED
, Amazon Lex provides the reason that it failed to export the
resource.public void setUrl(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.
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 String getUrl()
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 GetExportResult withUrl(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.
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 String toString()
toString
in class Object
Object.toString()
public GetExportResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.