public class CreateInstanceExportTaskRequest extends AmazonWebServiceRequest implements Serializable
CreateInstanceExportTask operation
.
Exports a running or stopped instance to an Amazon 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 .
NOOP
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() |
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) |
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)
Returns a reference to this object so that method calls can be chained together.
|
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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public 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
ExportEnvironment
public void setTargetEnvironment(String targetEnvironment)
Constraints:
Allowed Values: citrix, vmware, microsoft
targetEnvironment
- The target virtualization environment.ExportEnvironment
public 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.ExportEnvironment
public void setTargetEnvironment(ExportEnvironment targetEnvironment)
Constraints:
Allowed Values: citrix, vmware, microsoft
targetEnvironment
- The target virtualization environment.ExportEnvironment
public 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.ExportEnvironment
public ExportToS3TaskSpecification getExportToS3Task()
public void setExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
exportToS3Task
- public CreateInstanceExportTaskRequest withExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
Returns a reference to this object so that method calls can be chained together.
exportToS3Task
- public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.