@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExportImageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ExportImageResult() |
Modifier and Type | Method and Description |
---|---|
ExportImageResult |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the image being exported.
|
String |
getDiskImageFormat()
The disk image format for the exported image.
|
String |
getExportImageTaskId()
The ID of the export image task.
|
String |
getImageId()
The ID of the image.
|
String |
getProgress()
The percent complete of the export image task.
|
String |
getRoleName()
The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket.
|
ExportTaskS3Location |
getS3ExportLocation()
Information about the destination Amazon S3 bucket.
|
String |
getStatus()
The status of the export image task.
|
String |
getStatusMessage()
The status message for the export image task.
|
List<Tag> |
getTags()
Any tags assigned to the export image task.
|
int |
hashCode() |
void |
setDescription(String description)
A description of the image being exported.
|
void |
setDiskImageFormat(String diskImageFormat)
The disk image format for the exported image.
|
void |
setExportImageTaskId(String exportImageTaskId)
The ID of the export image task.
|
void |
setImageId(String imageId)
The ID of the image.
|
void |
setProgress(String progress)
The percent complete of the export image task.
|
void |
setRoleName(String roleName)
The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket.
|
void |
setS3ExportLocation(ExportTaskS3Location s3ExportLocation)
Information about the destination Amazon S3 bucket.
|
void |
setStatus(String status)
The status of the export image task.
|
void |
setStatusMessage(String statusMessage)
The status message for the export image task.
|
void |
setTags(Collection<Tag> tags)
Any tags assigned to the export image task.
|
String |
toString()
Returns a string representation of this object.
|
ExportImageResult |
withDescription(String description)
A description of the image being exported.
|
ExportImageResult |
withDiskImageFormat(DiskImageFormat diskImageFormat)
The disk image format for the exported image.
|
ExportImageResult |
withDiskImageFormat(String diskImageFormat)
The disk image format for the exported image.
|
ExportImageResult |
withExportImageTaskId(String exportImageTaskId)
The ID of the export image task.
|
ExportImageResult |
withImageId(String imageId)
The ID of the image.
|
ExportImageResult |
withProgress(String progress)
The percent complete of the export image task.
|
ExportImageResult |
withRoleName(String roleName)
The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket.
|
ExportImageResult |
withS3ExportLocation(ExportTaskS3Location s3ExportLocation)
Information about the destination Amazon S3 bucket.
|
ExportImageResult |
withStatus(String status)
The status of the export image task.
|
ExportImageResult |
withStatusMessage(String statusMessage)
The status message for the export image task.
|
ExportImageResult |
withTags(Collection<Tag> tags)
Any tags assigned to the export image task.
|
ExportImageResult |
withTags(Tag... tags)
Any tags assigned to the export image task.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDescription(String description)
A description of the image being exported.
description
- A description of the image being exported.public String getDescription()
A description of the image being exported.
public ExportImageResult withDescription(String description)
A description of the image being exported.
description
- A description of the image being exported.public void setDiskImageFormat(String diskImageFormat)
The disk image format for the exported image.
diskImageFormat
- The disk image format for the exported image.DiskImageFormat
public String getDiskImageFormat()
The disk image format for the exported image.
DiskImageFormat
public ExportImageResult withDiskImageFormat(String diskImageFormat)
The disk image format for the exported image.
diskImageFormat
- The disk image format for the exported image.DiskImageFormat
public ExportImageResult withDiskImageFormat(DiskImageFormat diskImageFormat)
The disk image format for the exported image.
diskImageFormat
- The disk image format for the exported image.DiskImageFormat
public void setExportImageTaskId(String exportImageTaskId)
The ID of the export image task.
exportImageTaskId
- The ID of the export image task.public String getExportImageTaskId()
The ID of the export image task.
public ExportImageResult withExportImageTaskId(String exportImageTaskId)
The ID of the export image task.
exportImageTaskId
- The ID of the export image task.public void setImageId(String imageId)
The ID of the image.
imageId
- The ID of the image.public String getImageId()
The ID of the image.
public ExportImageResult withImageId(String imageId)
The ID of the image.
imageId
- The ID of the image.public void setRoleName(String roleName)
The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket.
roleName
- The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket.public String getRoleName()
The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket.
public ExportImageResult withRoleName(String roleName)
The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket.
roleName
- The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket.public void setProgress(String progress)
The percent complete of the export image task.
progress
- The percent complete of the export image task.public String getProgress()
The percent complete of the export image task.
public ExportImageResult withProgress(String progress)
The percent complete of the export image task.
progress
- The percent complete of the export image task.public void setS3ExportLocation(ExportTaskS3Location s3ExportLocation)
Information about the destination Amazon S3 bucket.
s3ExportLocation
- Information about the destination Amazon S3 bucket.public ExportTaskS3Location getS3ExportLocation()
Information about the destination Amazon S3 bucket.
public ExportImageResult withS3ExportLocation(ExportTaskS3Location s3ExportLocation)
Information about the destination Amazon S3 bucket.
s3ExportLocation
- Information about the destination Amazon S3 bucket.public void setStatus(String status)
The status of the export image task. The possible values are active
, completed
,
deleting
, and deleted
.
status
- The status of the export image task. The possible values are active
, completed
,
deleting
, and deleted
.public String getStatus()
The status of the export image task. The possible values are active
, completed
,
deleting
, and deleted
.
active
, completed
,
deleting
, and deleted
.public ExportImageResult withStatus(String status)
The status of the export image task. The possible values are active
, completed
,
deleting
, and deleted
.
status
- The status of the export image task. The possible values are active
, completed
,
deleting
, and deleted
.public void setStatusMessage(String statusMessage)
The status message for the export image task.
statusMessage
- The status message for the export image task.public String getStatusMessage()
The status message for the export image task.
public ExportImageResult withStatusMessage(String statusMessage)
The status message for the export image task.
statusMessage
- The status message for the export image task.public List<Tag> getTags()
Any tags assigned to the export image task.
public void setTags(Collection<Tag> tags)
Any tags assigned to the export image task.
tags
- Any tags assigned to the export image task.public ExportImageResult withTags(Tag... tags)
Any tags assigned to the export image task.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Any tags assigned to the export image task.public ExportImageResult withTags(Collection<Tag> tags)
Any tags assigned to the export image task.
tags
- Any tags assigned to the export image task.public String toString()
toString
in class Object
Object.toString()
public ExportImageResult clone()