@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelImportTaskResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CancelImportTaskResult() |
Modifier and Type | Method and Description |
---|---|
CancelImportTaskResult |
clone() |
boolean |
equals(Object obj) |
String |
getImportTaskId()
The ID of the task being canceled.
|
String |
getPreviousState()
The current state of the task being canceled.
|
String |
getState()
The current state of the task being canceled.
|
int |
hashCode() |
void |
setImportTaskId(String importTaskId)
The ID of the task being canceled.
|
void |
setPreviousState(String previousState)
The current state of the task being canceled.
|
void |
setState(String state)
The current state of the task being canceled.
|
String |
toString()
Returns a string representation of this object.
|
CancelImportTaskResult |
withImportTaskId(String importTaskId)
The ID of the task being canceled.
|
CancelImportTaskResult |
withPreviousState(String previousState)
The current state of the task being canceled.
|
CancelImportTaskResult |
withState(String state)
The current state of the task being canceled.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setImportTaskId(String importTaskId)
The ID of the task being canceled.
importTaskId
- The ID of the task being canceled.public String getImportTaskId()
The ID of the task being canceled.
public CancelImportTaskResult withImportTaskId(String importTaskId)
The ID of the task being canceled.
importTaskId
- The ID of the task being canceled.public void setPreviousState(String previousState)
The current state of the task being canceled.
previousState
- The current state of the task being canceled.public String getPreviousState()
The current state of the task being canceled.
public CancelImportTaskResult withPreviousState(String previousState)
The current state of the task being canceled.
previousState
- The current state of the task being canceled.public void setState(String state)
The current state of the task being canceled.
state
- The current state of the task being canceled.public String getState()
The current state of the task being canceled.
public CancelImportTaskResult withState(String state)
The current state of the task being canceled.
state
- The current state of the task being canceled.public String toString()
toString
in class Object
Object.toString()
public CancelImportTaskResult clone()