com.amazonaws.services.ec2.model
Class InstanceExportDetails

java.lang.Object
  extended by com.amazonaws.services.ec2.model.InstanceExportDetails
All Implemented Interfaces:
java.io.Serializable

public class InstanceExportDetails
extends java.lang.Object
implements java.io.Serializable

Describes an instance export task.

See Also:
Serialized Form

Constructor Summary
InstanceExportDetails()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getInstanceId()
          The ID of the resource being exported.
 java.lang.String getTargetEnvironment()
          The target virtualization environment.
 int hashCode()
           
 void setInstanceId(java.lang.String instanceId)
          The ID of the resource being exported.
 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.
 InstanceExportDetails withInstanceId(java.lang.String instanceId)
          The ID of the resource being exported.
 InstanceExportDetails withTargetEnvironment(ExportEnvironment targetEnvironment)
          The target virtualization environment.
 InstanceExportDetails withTargetEnvironment(java.lang.String targetEnvironment)
          The target virtualization environment.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstanceExportDetails

public InstanceExportDetails()
Method Detail

getInstanceId

public java.lang.String getInstanceId()
The ID of the resource being exported.

Returns:
The ID of the resource being exported.

setInstanceId

public void setInstanceId(java.lang.String instanceId)
The ID of the resource being exported.

Parameters:
instanceId - The ID of the resource being exported.

withInstanceId

public InstanceExportDetails withInstanceId(java.lang.String instanceId)
The ID of the resource being exported.

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

Parameters:
instanceId - The ID of the resource being exported.
Returns:
A reference to this updated object so that method calls can be chained together.

getTargetEnvironment

public java.lang.String getTargetEnvironment()
The target virtualization environment.

Constraints:
Allowed Values: citrix, vmware, microsoft

Returns:
The target virtualization environment.
See Also:
ExportEnvironment

setTargetEnvironment

public void setTargetEnvironment(java.lang.String targetEnvironment)
The target virtualization environment.

Constraints:
Allowed Values: citrix, vmware, microsoft

Parameters:
targetEnvironment - The target virtualization environment.
See Also:
ExportEnvironment

withTargetEnvironment

public InstanceExportDetails withTargetEnvironment(java.lang.String targetEnvironment)
The target virtualization environment.

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

Constraints:
Allowed Values: citrix, vmware, microsoft

Parameters:
targetEnvironment - The target virtualization environment.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ExportEnvironment

setTargetEnvironment

public void setTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.

Constraints:
Allowed Values: citrix, vmware, microsoft

Parameters:
targetEnvironment - The target virtualization environment.
See Also:
ExportEnvironment

withTargetEnvironment

public InstanceExportDetails withTargetEnvironment(ExportEnvironment targetEnvironment)
The target virtualization environment.

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

Constraints:
Allowed Values: citrix, vmware, microsoft

Parameters:
targetEnvironment - The target virtualization environment.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ExportEnvironment

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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