|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.ConversionTask
public class ConversionTask
Describes a conversion task.
Constructor Summary | |
---|---|
ConversionTask()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getConversionTaskId()
The ID of the conversion task. |
java.lang.String |
getExpirationTime()
The time when the task expires. |
ImportInstanceTaskDetails |
getImportInstance()
If the task is for importing an instance, this contains information about the import instance task. |
ImportVolumeTaskDetails |
getImportVolume()
If the task is for importing a volume, this contains information about the import volume task. |
java.lang.String |
getState()
The state of the conversion task. |
java.lang.String |
getStatusMessage()
The status message related to the conversion task. |
java.util.List<Tag> |
getTags()
|
int |
hashCode()
|
void |
setConversionTaskId(java.lang.String conversionTaskId)
The ID of the conversion task. |
void |
setExpirationTime(java.lang.String expirationTime)
The time when the task expires. |
void |
setImportInstance(ImportInstanceTaskDetails importInstance)
If the task is for importing an instance, this contains information about the import instance task. |
void |
setImportVolume(ImportVolumeTaskDetails importVolume)
If the task is for importing a volume, this contains information about the import volume task. |
void |
setState(ConversionTaskState state)
The state of the conversion task. |
void |
setState(java.lang.String state)
The state of the conversion task. |
void |
setStatusMessage(java.lang.String statusMessage)
The status message related to the conversion task. |
void |
setTags(java.util.Collection<Tag> tags)
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ConversionTask |
withConversionTaskId(java.lang.String conversionTaskId)
The ID of the conversion task. |
ConversionTask |
withExpirationTime(java.lang.String expirationTime)
The time when the task expires. |
ConversionTask |
withImportInstance(ImportInstanceTaskDetails importInstance)
If the task is for importing an instance, this contains information about the import instance task. |
ConversionTask |
withImportVolume(ImportVolumeTaskDetails importVolume)
If the task is for importing a volume, this contains information about the import volume task. |
ConversionTask |
withState(ConversionTaskState state)
The state of the conversion task. |
ConversionTask |
withState(java.lang.String state)
The state of the conversion task. |
ConversionTask |
withStatusMessage(java.lang.String statusMessage)
The status message related to the conversion task. |
ConversionTask |
withTags(java.util.Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together. |
ConversionTask |
withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConversionTask()
Method Detail |
---|
public java.lang.String getConversionTaskId()
public void setConversionTaskId(java.lang.String conversionTaskId)
conversionTaskId
- The ID of the conversion task.public ConversionTask withConversionTaskId(java.lang.String conversionTaskId)
Returns a reference to this object so that method calls can be chained together.
conversionTaskId
- The ID of the conversion task.
public java.lang.String getExpirationTime()
public void setExpirationTime(java.lang.String expirationTime)
expirationTime
- The time when the task expires. If the upload isn't complete before
the expiration time, we automatically cancel the task.public ConversionTask withExpirationTime(java.lang.String expirationTime)
Returns a reference to this object so that method calls can be chained together.
expirationTime
- The time when the task expires. If the upload isn't complete before
the expiration time, we automatically cancel the task.
public ImportInstanceTaskDetails getImportInstance()
public void setImportInstance(ImportInstanceTaskDetails importInstance)
importInstance
- If the task is for importing an instance, this contains information
about the import instance task.public ConversionTask withImportInstance(ImportInstanceTaskDetails importInstance)
Returns a reference to this object so that method calls can be chained together.
importInstance
- If the task is for importing an instance, this contains information
about the import instance task.
public ImportVolumeTaskDetails getImportVolume()
public void setImportVolume(ImportVolumeTaskDetails importVolume)
importVolume
- If the task is for importing a volume, this contains information about
the import volume task.public ConversionTask withImportVolume(ImportVolumeTaskDetails importVolume)
Returns a reference to this object so that method calls can be chained together.
importVolume
- If the task is for importing a volume, this contains information about
the import volume task.
public java.lang.String getState()
Constraints:
Allowed Values: active, cancelling, cancelled, completed
ConversionTaskState
public void setState(java.lang.String state)
Constraints:
Allowed Values: active, cancelling, cancelled, completed
state
- The state of the conversion task.ConversionTaskState
public ConversionTask withState(java.lang.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 state of the conversion task.
ConversionTaskState
public void setState(ConversionTaskState state)
Constraints:
Allowed Values: active, cancelling, cancelled, completed
state
- The state of the conversion task.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 state of the conversion task.
ConversionTaskState
public java.lang.String getStatusMessage()
public void setStatusMessage(java.lang.String statusMessage)
statusMessage
- The status message related to the conversion task.public ConversionTask withStatusMessage(java.lang.String statusMessage)
Returns a reference to this object so that method calls can be chained together.
statusMessage
- The status message related to the conversion task.
public java.util.List<Tag> getTags()
public void setTags(java.util.Collection<Tag> tags)
tags
- public ConversionTask withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
-
public ConversionTask withTags(java.util.Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
-
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |