|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CreateInstanceExportTaskRequest
public class CreateInstanceExportTaskRequest
Container for the parameters to the 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 .
AmazonEC2.createInstanceExportTask(CreateInstanceExportTaskRequest)
,
Serialized FormConstructor Summary | |
---|---|
CreateInstanceExportTaskRequest()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDescription()
A description for the conversion task or the resource being exported. |
ExportToS3TaskSpecification |
getExportToS3Task()
|
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)
|
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)
Returns a reference to this object so that method calls can be chained together. |
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CreateInstanceExportTaskRequest()
Method Detail |
---|
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
- public CreateInstanceExportTaskRequest withExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
Returns a reference to this object so that method calls can be chained together.
exportToS3Task
-
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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |