com.amazonaws.services.ec2.model
Class ImportInstanceTaskDetails

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

public class ImportInstanceTaskDetails
extends Object

Import Instance Task Details


Constructor Summary
ImportInstanceTaskDetails()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
          Returns the value of the Description property for this object.
 String getInstanceId()
          Returns the value of the InstanceId property for this object.
 String getPlatform()
          Returns the value of the Platform property for this object.
 List<ImportInstanceVolumeDetailItem> getVolumes()
          Returns the value of the Volumes property for this object.
 int hashCode()
           
 void setDescription(String description)
          Sets the value of the Description property for this object.
 void setInstanceId(String instanceId)
          Sets the value of the InstanceId property for this object.
 void setPlatform(String platform)
          Sets the value of the Platform property for this object.
 void setVolumes(Collection<ImportInstanceVolumeDetailItem> volumes)
          Sets the value of the Volumes property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ImportInstanceTaskDetails withDescription(String description)
          Sets the value of the Description property for this object.
 ImportInstanceTaskDetails withInstanceId(String instanceId)
          Sets the value of the InstanceId property for this object.
 ImportInstanceTaskDetails withPlatform(String platform)
          Sets the value of the Platform property for this object.
 ImportInstanceTaskDetails withVolumes(Collection<ImportInstanceVolumeDetailItem> volumes)
          Sets the value of the Volumes property for this object.
 ImportInstanceTaskDetails withVolumes(ImportInstanceVolumeDetailItem... volumes)
          Sets the value of the Volumes property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportInstanceTaskDetails

public ImportInstanceTaskDetails()
Method Detail

getVolumes

public List<ImportInstanceVolumeDetailItem> getVolumes()
Returns the value of the Volumes property for this object.

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

setVolumes

public void setVolumes(Collection<ImportInstanceVolumeDetailItem> volumes)
Sets the value of the Volumes property for this object.

Parameters:
volumes - The new value for the Volumes property for this object.

withVolumes

public ImportInstanceTaskDetails withVolumes(ImportInstanceVolumeDetailItem... volumes)
Sets the value of the Volumes property for this object.

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

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

withVolumes

public ImportInstanceTaskDetails withVolumes(Collection<ImportInstanceVolumeDetailItem> volumes)
Sets the value of the Volumes property for this object.

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

Parameters:
volumes - The new value for the Volumes 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 ImportInstanceTaskDetails 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.

getPlatform

public String getPlatform()
Returns the value of the Platform property for this object.

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

setPlatform

public void setPlatform(String platform)
Sets the value of the Platform property for this object.

Parameters:
platform - The new value for the Platform property for this object.

withPlatform

public ImportInstanceTaskDetails withPlatform(String platform)
Sets the value of the Platform property for this object.

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

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

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 ImportInstanceTaskDetails 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.

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.