public class ConversionTask extends Object implements Serializable
Constructor and Description |
---|
ConversionTask() |
Modifier and Type | Method and Description |
---|---|
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(ConversionTaskState state)
Sets the value of the State 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(ConversionTaskState state)
Sets the value of the State 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.
|
public String getConversionTaskId()
public void setConversionTaskId(String conversionTaskId)
conversionTaskId
- The new value for the ConversionTaskId property for this object.public ConversionTask withConversionTaskId(String conversionTaskId)
Returns a reference to this object so that method calls can be chained together.
conversionTaskId
- The new value for the ConversionTaskId property for this object.public String getExpirationTime()
public void setExpirationTime(String expirationTime)
expirationTime
- The new value for the ExpirationTime property for this object.public ConversionTask withExpirationTime(String expirationTime)
Returns a reference to this object so that method calls can be chained together.
expirationTime
- The new value for the ExpirationTime property for this object.public ImportInstanceTaskDetails getImportInstance()
public void setImportInstance(ImportInstanceTaskDetails importInstance)
importInstance
- The new value for the ImportInstance property for this object.public ConversionTask withImportInstance(ImportInstanceTaskDetails importInstance)
Returns a reference to this object so that method calls can be chained together.
importInstance
- The new value for the ImportInstance property for this object.public ImportVolumeTaskDetails getImportVolume()
public void setImportVolume(ImportVolumeTaskDetails importVolume)
importVolume
- The new value for the ImportVolume property for this object.public ConversionTask withImportVolume(ImportVolumeTaskDetails importVolume)
Returns a reference to this object so that method calls can be chained together.
importVolume
- The new value for the ImportVolume property for this object.public String getState()
Constraints:
Allowed Values: active, cancelling, cancelled, completed
ConversionTaskState
public void setState(String state)
Constraints:
Allowed Values: active, cancelling, cancelled, completed
state
- The new value for the State property for this object.ConversionTaskState
public ConversionTask withState(String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: active, cancelling, cancelled, completed
state
- The new value for the State property for this object.ConversionTaskState
public void setState(ConversionTaskState state)
Constraints:
Allowed Values: active, cancelling, cancelled, completed
state
- The new value for the State property for this object.ConversionTaskState
public ConversionTask withState(ConversionTaskState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: active, cancelling, cancelled, completed
state
- The new value for the State property for this object.ConversionTaskState
public String getStatusMessage()
public void setStatusMessage(String statusMessage)
statusMessage
- The new value for the StatusMessage property for this object.public ConversionTask withStatusMessage(String statusMessage)
Returns a reference to this object so that method calls can be chained together.
statusMessage
- The new value for the StatusMessage property for this object.public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- The new value for the Tags property for this object.public ConversionTask withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- The new value for the Tags property for this object.public ConversionTask withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- The new value for the Tags property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.