public class CancelAuditMitigationActionsTaskRequest extends AmazonWebServiceRequest implements Serializable
Cancels a mitigation action task that is in progress. If the task is not in progress, an InvalidRequestException occurs.
| Constructor and Description |
|---|
CancelAuditMitigationActionsTaskRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getTaskId()
The unique identifier for the task that you want to cancel.
|
int |
hashCode() |
void |
setTaskId(String taskId)
The unique identifier for the task that you want to cancel.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelAuditMitigationActionsTaskRequest |
withTaskId(String taskId)
The unique identifier for the task that you want to cancel.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic CancelAuditMitigationActionsTaskRequest()
public String getTaskId()
The unique identifier for the task that you want to cancel.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
The unique identifier for the task that you want to cancel.
public void setTaskId(String taskId)
The unique identifier for the task that you want to cancel.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
taskId - The unique identifier for the task that you want to cancel.
public CancelAuditMitigationActionsTaskRequest withTaskId(String taskId)
The unique identifier for the task that you want to cancel.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
taskId - The unique identifier for the task that you want to cancel.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.