com.amazonaws.services.ec2.model
Class InstanceExportDetails

java.lang.Object
  extended by com.amazonaws.services.ec2.model.InstanceExportDetails

public class InstanceExportDetails
extends Object

Instance Export Details


Constructor Summary
InstanceExportDetails()
           
 
Method Summary
 boolean equals(Object obj)
           
 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 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.
 InstanceExportDetails withInstanceId(String instanceId)
          Sets the value of the InstanceId property for this object.
 InstanceExportDetails withTargetEnvironment(ExportEnvironment targetEnvironment)
          Sets the value of the TargetEnvironment property for this object.
 InstanceExportDetails withTargetEnvironment(String targetEnvironment)
          Sets the value of the TargetEnvironment property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstanceExportDetails

public InstanceExportDetails()
Method Detail

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 InstanceExportDetails 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 InstanceExportDetails 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 InstanceExportDetails 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

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.