public class CreateInstanceExportTaskRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.Object obj) |
java.lang.String |
getDescription()
A description for the conversion task or the resource being exported.
|
ExportToS3TaskSpecification |
getExportToS3Task()
The format and location for an instance export task.
|
java.lang.String |
getInstanceId()
The ID of the instance.
|
java.lang.String |
getTargetEnvironment()
The target virtualization environment.
|
int |
hashCode() |
void |
setDescription(java.lang.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(java.lang.String instanceId)
The ID of the instance.
|
void |
setTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
|
void |
setTargetEnvironment(java.lang.String targetEnvironment)
The target virtualization environment.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateInstanceExportTaskRequest |
withDescription(java.lang.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(java.lang.String instanceId)
The ID of the instance.
|
CreateInstanceExportTaskRequest |
withTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.
|
CreateInstanceExportTaskRequest |
withTargetEnvironment(java.lang.String targetEnvironment)
The target virtualization environment.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- A description for the conversion task or the resource being exported.
The maximum length is 255 bytes.public CreateInstanceExportTaskRequest withDescription(java.lang.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 java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId
- The ID of the instance.public CreateInstanceExportTaskRequest withInstanceId(java.lang.String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The ID of the instance.public java.lang.String getTargetEnvironment()
Constraints:
Allowed Values: citrix, vmware, microsoft
ExportEnvironment
public void setTargetEnvironment(java.lang.String targetEnvironment)
Constraints:
Allowed Values: citrix, vmware, microsoft
targetEnvironment
- The target virtualization environment.ExportEnvironment
public CreateInstanceExportTaskRequest withTargetEnvironment(java.lang.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
- 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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.