public class CancelAuditMitigationActionsTaskRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.Object obj) |
java.lang.String |
getTaskId()
The unique identifier for the task that you want to cancel.
|
int |
hashCode() |
void |
setTaskId(java.lang.String taskId)
The unique identifier for the task that you want to cancel.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CancelAuditMitigationActionsTaskRequest |
withTaskId(java.lang.String taskId)
The unique identifier for the task that you want to cancel.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public CancelAuditMitigationActionsTaskRequest()
public java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.