public class CreateInstanceExportTaskRequest extends AmazonWebServiceRequest implements Serializable
CreateInstanceExportTask operation.
Exports a running or stopped instance to an S3 bucket.
For information about the supported operating systems, image formats, and known limitations for the types of instances you can export, see Exporting EC2 Instances in the Amazon Elastic Compute Cloud User Guide .
| Constructor and Description |
|---|
CreateInstanceExportTaskRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription()
A description for the conversion task or the resource being exported.
|
ExportToS3TaskSpecification |
getExportToS3Task()
The format and location for an instance export task.
|
String |
getInstanceId()
The ID of the instance.
|
String |
getTargetEnvironment()
The target virtualization environment.
|
int |
hashCode() |
void |
setDescription(String description)
A description for the conversion task or the resource being exported.
|
void |
setExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
The format and location for an instance export task.
|
void |
setInstanceId(String instanceId)
The ID of the instance.
|
void |
setTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
|
void |
setTargetEnvironment(String targetEnvironment)
The target virtualization environment.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateInstanceExportTaskRequest |
withDescription(String description)
A description for the conversion task or the resource being exported.
|
CreateInstanceExportTaskRequest |
withExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
The format and location for an instance export task.
|
CreateInstanceExportTaskRequest |
withInstanceId(String instanceId)
The ID of the instance.
|
CreateInstanceExportTaskRequest |
withTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
|
CreateInstanceExportTaskRequest |
withTargetEnvironment(String targetEnvironment)
The target virtualization environment.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getDescription()
public void setDescription(String description)
description - A description for the conversion task or the resource being exported.
The maximum length is 255 bytes.public CreateInstanceExportTaskRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description - A description for the conversion task or the resource being exported.
The maximum length is 255 bytes.public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId - The ID of the instance.public CreateInstanceExportTaskRequest withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId - The ID of the instance.public String getTargetEnvironment()
Constraints:
Allowed Values: citrix, vmware, microsoft
ExportEnvironmentpublic void setTargetEnvironment(String targetEnvironment)
Constraints:
Allowed Values: citrix, vmware, microsoft
targetEnvironment - The target virtualization environment.ExportEnvironmentpublic CreateInstanceExportTaskRequest withTargetEnvironment(String targetEnvironment)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: citrix, vmware, microsoft
targetEnvironment - The target virtualization environment.ExportEnvironmentpublic void setTargetEnvironment(ExportEnvironment targetEnvironment)
Constraints:
Allowed Values: citrix, vmware, microsoft
targetEnvironment - The target virtualization environment.ExportEnvironmentpublic CreateInstanceExportTaskRequest withTargetEnvironment(ExportEnvironment targetEnvironment)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: citrix, vmware, microsoft
targetEnvironment - The target virtualization environment.ExportEnvironmentpublic ExportToS3TaskSpecification getExportToS3Task()
public void setExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
exportToS3Task - The format and location for an instance export task.public CreateInstanceExportTaskRequest withExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
Returns a reference to this object so that method calls can be chained together.
exportToS3Task - The format and location for an instance export task.public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.