@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelJobResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CancelJobResult() |
| Modifier and Type | Method and Description |
|---|---|
CancelJobResult |
clone() |
boolean |
equals(Object obj) |
String |
getCancellationStatus()
The status of the job cancellation request.
|
String |
getJobArn()
The ARN of the Amazon Braket job.
|
int |
hashCode() |
void |
setCancellationStatus(String cancellationStatus)
The status of the job cancellation request.
|
void |
setJobArn(String jobArn)
The ARN of the Amazon Braket job.
|
String |
toString()
Returns a string representation of this object.
|
CancelJobResult |
withCancellationStatus(CancellationStatus cancellationStatus)
The status of the job cancellation request.
|
CancelJobResult |
withCancellationStatus(String cancellationStatus)
The status of the job cancellation request.
|
CancelJobResult |
withJobArn(String jobArn)
The ARN of the Amazon Braket job.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setCancellationStatus(String cancellationStatus)
The status of the job cancellation request.
cancellationStatus - The status of the job cancellation request.CancellationStatuspublic String getCancellationStatus()
The status of the job cancellation request.
CancellationStatuspublic CancelJobResult withCancellationStatus(String cancellationStatus)
The status of the job cancellation request.
cancellationStatus - The status of the job cancellation request.CancellationStatuspublic CancelJobResult withCancellationStatus(CancellationStatus cancellationStatus)
The status of the job cancellation request.
cancellationStatus - The status of the job cancellation request.CancellationStatuspublic void setJobArn(String jobArn)
The ARN of the Amazon Braket job.
jobArn - The ARN of the Amazon Braket job.public String getJobArn()
The ARN of the Amazon Braket job.
public CancelJobResult withJobArn(String jobArn)
The ARN of the Amazon Braket job.
jobArn - The ARN of the Amazon Braket job.public String toString()
toString in class ObjectObject.toString()public CancelJobResult clone()