public class CancelImportTaskResult extends Object 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; useful for testing and
debugging.
|
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.
|
public String getImportTaskId()
public void setImportTaskId(String importTaskId)
importTaskId
- The ID of the task being canceled.public CancelImportTaskResult withImportTaskId(String importTaskId)
Returns a reference to this object so that method calls can be chained together.
importTaskId
- The ID of the task being canceled.public String getState()
public void setState(String state)
state
- The current state of the task being canceled.public CancelImportTaskResult withState(String state)
Returns a reference to this object so that method calls can be chained together.
state
- The current state of the task being canceled.public String getPreviousState()
public void setPreviousState(String previousState)
previousState
- The current state of the task being canceled.public CancelImportTaskResult withPreviousState(String previousState)
Returns a reference to this object so that method calls can be chained together.
previousState
- The current state of the task being canceled.public String toString()
toString
in class Object
Object.toString()
public CancelImportTaskResult clone()
Copyright © 2015. All rights reserved.