public class CancelImportTaskResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output for CancelImportTask.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
importTaskId
The ID of the task being canceled.
|
private java.lang.String |
previousState
The current state of the task being canceled.
|
private java.lang.String |
state
The current state of the task being canceled.
|
Constructor and Description |
---|
CancelImportTaskResult() |
Modifier and Type | Method and Description |
---|---|
CancelImportTaskResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getImportTaskId()
The ID of the task being canceled.
|
java.lang.String |
getPreviousState()
The current state of the task being canceled.
|
java.lang.String |
getState()
The current state of the task being canceled.
|
int |
hashCode() |
void |
setImportTaskId(java.lang.String importTaskId)
The ID of the task being canceled.
|
void |
setPreviousState(java.lang.String previousState)
The current state of the task being canceled.
|
void |
setState(java.lang.String state)
The current state of the task being canceled.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelImportTaskResult |
withImportTaskId(java.lang.String importTaskId)
The ID of the task being canceled.
|
CancelImportTaskResult |
withPreviousState(java.lang.String previousState)
The current state of the task being canceled.
|
CancelImportTaskResult |
withState(java.lang.String state)
The current state of the task being canceled.
|
private java.lang.String importTaskId
The ID of the task being canceled.
private java.lang.String state
The current state of the task being canceled.
private java.lang.String previousState
The current state of the task being canceled.
public void setImportTaskId(java.lang.String importTaskId)
The ID of the task being canceled.
importTaskId
- The ID of the task being canceled.public java.lang.String getImportTaskId()
The ID of the task being canceled.
public CancelImportTaskResult withImportTaskId(java.lang.String importTaskId)
The ID of the task being canceled.
importTaskId
- The ID of the task being canceled.public void setState(java.lang.String state)
The current state of the task being canceled.
state
- The current state of the task being canceled.public java.lang.String getState()
The current state of the task being canceled.
public CancelImportTaskResult withState(java.lang.String state)
The current state of the task being canceled.
state
- The current state of the task being canceled.public void setPreviousState(java.lang.String previousState)
The current state of the task being canceled.
previousState
- The current state of the task being canceled.public java.lang.String getPreviousState()
The current state of the task being canceled.
public CancelImportTaskResult withPreviousState(java.lang.String previousState)
The current state of the task being canceled.
previousState
- The current state of the task being canceled.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CancelImportTaskResult clone()
clone
in class java.lang.Object