com.amazonaws.services.ec2.model
Class ConversionTask

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

public class ConversionTask
extends Object

Conversion Task


Constructor Summary
ConversionTask()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getConversionTaskId()
          Returns the value of the ConversionTaskId property for this object.
 String getExpirationTime()
          Returns the value of the ExpirationTime property for this object.
 ImportInstanceTaskDetails getImportInstance()
          Returns the value of the ImportInstance property for this object.
 ImportVolumeTaskDetails getImportVolume()
          Returns the value of the ImportVolume property for this object.
 String getState()
          Returns the value of the State property for this object.
 String getStatusMessage()
          Returns the value of the StatusMessage property for this object.
 List<Tag> getTags()
          Returns the value of the Tags property for this object.
 int hashCode()
           
 void setConversionTaskId(String conversionTaskId)
          Sets the value of the ConversionTaskId property for this object.
 void setExpirationTime(String expirationTime)
          Sets the value of the ExpirationTime property for this object.
 void setImportInstance(ImportInstanceTaskDetails importInstance)
          Sets the value of the ImportInstance property for this object.
 void setImportVolume(ImportVolumeTaskDetails importVolume)
          Sets the value of the ImportVolume property for this object.
 void setState(String state)
          Sets the value of the State property for this object.
 void setStatusMessage(String statusMessage)
          Sets the value of the StatusMessage property for this object.
 void setTags(Collection<Tag> tags)
          Sets the value of the Tags property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ConversionTask withConversionTaskId(String conversionTaskId)
          Sets the value of the ConversionTaskId property for this object.
 ConversionTask withExpirationTime(String expirationTime)
          Sets the value of the ExpirationTime property for this object.
 ConversionTask withImportInstance(ImportInstanceTaskDetails importInstance)
          Sets the value of the ImportInstance property for this object.
 ConversionTask withImportVolume(ImportVolumeTaskDetails importVolume)
          Sets the value of the ImportVolume property for this object.
 ConversionTask withState(String state)
          Sets the value of the State property for this object.
 ConversionTask withStatusMessage(String statusMessage)
          Sets the value of the StatusMessage property for this object.
 ConversionTask withTags(Collection<Tag> tags)
          Sets the value of the Tags property for this object.
 ConversionTask withTags(Tag... tags)
          Sets the value of the Tags property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConversionTask

public ConversionTask()
Method Detail

getConversionTaskId

public String getConversionTaskId()
Returns the value of the ConversionTaskId property for this object.

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

setConversionTaskId

public void setConversionTaskId(String conversionTaskId)
Sets the value of the ConversionTaskId property for this object.

Parameters:
conversionTaskId - The new value for the ConversionTaskId property for this object.

withConversionTaskId

public ConversionTask withConversionTaskId(String conversionTaskId)
Sets the value of the ConversionTaskId property for this object.

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

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

getExpirationTime

public String getExpirationTime()
Returns the value of the ExpirationTime property for this object.

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

setExpirationTime

public void setExpirationTime(String expirationTime)
Sets the value of the ExpirationTime property for this object.

Parameters:
expirationTime - The new value for the ExpirationTime property for this object.

withExpirationTime

public ConversionTask withExpirationTime(String expirationTime)
Sets the value of the ExpirationTime property for this object.

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

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

getImportInstance

public ImportInstanceTaskDetails getImportInstance()
Returns the value of the ImportInstance property for this object.

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

setImportInstance

public void setImportInstance(ImportInstanceTaskDetails importInstance)
Sets the value of the ImportInstance property for this object.

Parameters:
importInstance - The new value for the ImportInstance property for this object.

withImportInstance

public ConversionTask withImportInstance(ImportInstanceTaskDetails importInstance)
Sets the value of the ImportInstance property for this object.

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

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

getImportVolume

public ImportVolumeTaskDetails getImportVolume()
Returns the value of the ImportVolume property for this object.

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

setImportVolume

public void setImportVolume(ImportVolumeTaskDetails importVolume)
Sets the value of the ImportVolume property for this object.

Parameters:
importVolume - The new value for the ImportVolume property for this object.

withImportVolume

public ConversionTask withImportVolume(ImportVolumeTaskDetails importVolume)
Sets the value of the ImportVolume property for this object.

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

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

getState

public String getState()
Returns the value of the State property for this object.

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

setState

public void setState(String state)
Sets the value of the State property for this object.

Parameters:
state - The new value for the State property for this object.

withState

public ConversionTask withState(String state)
Sets the value of the State property for this object.

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

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

getStatusMessage

public String getStatusMessage()
Returns the value of the StatusMessage property for this object.

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

setStatusMessage

public void setStatusMessage(String statusMessage)
Sets the value of the StatusMessage property for this object.

Parameters:
statusMessage - The new value for the StatusMessage property for this object.

withStatusMessage

public ConversionTask withStatusMessage(String statusMessage)
Sets the value of the StatusMessage property for this object.

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

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

getTags

public List<Tag> getTags()
Returns the value of the Tags property for this object.

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

setTags

public void setTags(Collection<Tag> tags)
Sets the value of the Tags property for this object.

Parameters:
tags - The new value for the Tags property for this object.

withTags

public ConversionTask withTags(Tag... tags)
Sets the value of the Tags property for this object.

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

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

withTags

public ConversionTask withTags(Collection<Tag> tags)
Sets the value of the Tags property for this object.

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

Parameters:
tags - The new value for the Tags 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.