public class CancelImportTaskResult
extends java.lang.Object
implements java.io.Serializable
Contains the output for CancelImportTask.
| Constructor and Description |
|---|
CancelImportTaskResult() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public java.lang.String getImportTaskId()
public void setImportTaskId(java.lang.String importTaskId)
importTaskId - The ID of the task being canceled.public CancelImportTaskResult withImportTaskId(java.lang.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 java.lang.String getState()
public void setState(java.lang.String state)
state - The current state of the task being canceled.public CancelImportTaskResult withState(java.lang.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 java.lang.String getPreviousState()
public void setPreviousState(java.lang.String previousState)
previousState - The current state of the task being canceled.public CancelImportTaskResult withPreviousState(java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.