com.amazonaws.services.ec2.model
Class CreateInstanceExportTaskRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.CreateInstanceExportTaskRequest

public class CreateInstanceExportTaskRequest
extends AmazonWebServiceRequest

Container for the parameters to the CreateInstanceExportTask operation.

See Also:
AmazonEC2.createInstanceExportTask(CreateInstanceExportTaskRequest)

Constructor Summary
CreateInstanceExportTaskRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
          Returns the value of the Description property for this object.
 ExportToS3TaskSpecification getExportToS3Task()
          Returns the value of the ExportToS3Task property for this object.
 String getInstanceId()
          Returns the value of the InstanceId property for this object.
 String getTargetEnvironment()
          Returns the value of the TargetEnvironment property for this object.
 int hashCode()
           
 void setDescription(String description)
          Sets the value of the Description property for this object.
 void setExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
          Sets the value of the ExportToS3Task property for this object.
 void setInstanceId(String instanceId)
          Sets the value of the InstanceId property for this object.
 void setTargetEnvironment(ExportEnvironment targetEnvironment)
          Sets the value of the TargetEnvironment property for this object.
 void setTargetEnvironment(String targetEnvironment)
          Sets the value of the TargetEnvironment property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CreateInstanceExportTaskRequest withDescription(String description)
          Sets the value of the Description property for this object.
 CreateInstanceExportTaskRequest withExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
          Sets the value of the ExportToS3Task property for this object.
 CreateInstanceExportTaskRequest withInstanceId(String instanceId)
          Sets the value of the InstanceId property for this object.
 CreateInstanceExportTaskRequest withTargetEnvironment(ExportEnvironment targetEnvironment)
          Sets the value of the TargetEnvironment property for this object.
 CreateInstanceExportTaskRequest withTargetEnvironment(String targetEnvironment)
          Sets the value of the TargetEnvironment property for this object.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateInstanceExportTaskRequest

public CreateInstanceExportTaskRequest()
Method Detail

getDescription

public String getDescription()
Returns the value of the Description property for this object.

Returns:
The value of the Description property for this object.

setDescription

public void setDescription(String description)
Sets the value of the Description property for this object.

Parameters:
description - The new value for the Description property for this object.

withDescription

public CreateInstanceExportTaskRequest withDescription(String description)
Sets the value of the Description property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
description - The new value for the Description property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceId

public String getInstanceId()
Returns the value of the InstanceId property for this object.

Returns:
The value of the InstanceId property for this object.

setInstanceId

public void setInstanceId(String instanceId)
Sets the value of the InstanceId property for this object.

Parameters:
instanceId - The new value for the InstanceId property for this object.

withInstanceId

public CreateInstanceExportTaskRequest withInstanceId(String instanceId)
Sets the value of the InstanceId property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceId - The new value for the InstanceId property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getTargetEnvironment

public String getTargetEnvironment()
Returns the value of the TargetEnvironment property for this object.

Constraints:
Allowed Values: citrix, vmware

Returns:
The value of the TargetEnvironment property for this object.
See Also:
ExportEnvironment

setTargetEnvironment

public void setTargetEnvironment(String targetEnvironment)
Sets the value of the TargetEnvironment property for this object.

Constraints:
Allowed Values: citrix, vmware

Parameters:
targetEnvironment - The new value for the TargetEnvironment property for this object.
See Also:
ExportEnvironment

withTargetEnvironment

public CreateInstanceExportTaskRequest withTargetEnvironment(String targetEnvironment)
Sets the value of the TargetEnvironment property for this object.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: citrix, vmware

Parameters:
targetEnvironment - The new value for the TargetEnvironment property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ExportEnvironment

setTargetEnvironment

public void setTargetEnvironment(ExportEnvironment targetEnvironment)
Sets the value of the TargetEnvironment property for this object.

Constraints:
Allowed Values: citrix, vmware

Parameters:
targetEnvironment - The new value for the TargetEnvironment property for this object.
See Also:
ExportEnvironment

withTargetEnvironment

public CreateInstanceExportTaskRequest withTargetEnvironment(ExportEnvironment targetEnvironment)
Sets the value of the TargetEnvironment property for this object.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: citrix, vmware

Parameters:
targetEnvironment - The new value for the TargetEnvironment property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ExportEnvironment

getExportToS3Task

public ExportToS3TaskSpecification getExportToS3Task()
Returns the value of the ExportToS3Task property for this object.

Returns:
The value of the ExportToS3Task property for this object.

setExportToS3Task

public void setExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
Sets the value of the ExportToS3Task property for this object.

Parameters:
exportToS3Task - The new value for the ExportToS3Task property for this object.

withExportToS3Task

public CreateInstanceExportTaskRequest withExportToS3Task(ExportToS3TaskSpecification exportToS3Task)
Sets the value of the ExportToS3Task property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
exportToS3Task - The new value for the ExportToS3Task property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.