@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelQuantumTaskResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CancelQuantumTaskResult() |
Modifier and Type | Method and Description |
---|---|
CancelQuantumTaskResult |
clone() |
boolean |
equals(Object obj) |
String |
getCancellationStatus()
The status of the cancellation request.
|
String |
getQuantumTaskArn()
The ARN of the task.
|
int |
hashCode() |
void |
setCancellationStatus(String cancellationStatus)
The status of the cancellation request.
|
void |
setQuantumTaskArn(String quantumTaskArn)
The ARN of the task.
|
String |
toString()
Returns a string representation of this object.
|
CancelQuantumTaskResult |
withCancellationStatus(CancellationStatus cancellationStatus)
The status of the cancellation request.
|
CancelQuantumTaskResult |
withCancellationStatus(String cancellationStatus)
The status of the cancellation request.
|
CancelQuantumTaskResult |
withQuantumTaskArn(String quantumTaskArn)
The ARN of the task.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCancellationStatus(String cancellationStatus)
The status of the cancellation request.
cancellationStatus
- The status of the cancellation request.CancellationStatus
public String getCancellationStatus()
The status of the cancellation request.
CancellationStatus
public CancelQuantumTaskResult withCancellationStatus(String cancellationStatus)
The status of the cancellation request.
cancellationStatus
- The status of the cancellation request.CancellationStatus
public CancelQuantumTaskResult withCancellationStatus(CancellationStatus cancellationStatus)
The status of the cancellation request.
cancellationStatus
- The status of the cancellation request.CancellationStatus
public void setQuantumTaskArn(String quantumTaskArn)
The ARN of the task.
quantumTaskArn
- The ARN of the task.public String getQuantumTaskArn()
The ARN of the task.
public CancelQuantumTaskResult withQuantumTaskArn(String quantumTaskArn)
The ARN of the task.
quantumTaskArn
- The ARN of the task.public String toString()
toString
in class Object
Object.toString()
public CancelQuantumTaskResult clone()