@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartAuditMitigationActionsTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartAuditMitigationActionsTaskRequest() |
Modifier and Type | Method and Description |
---|---|
StartAuditMitigationActionsTaskRequest |
addAuditCheckToActionsMappingEntry(String key,
List<String> value)
Add a single AuditCheckToActionsMapping entry
|
StartAuditMitigationActionsTaskRequest |
clearAuditCheckToActionsMappingEntries()
Removes all the entries added into AuditCheckToActionsMapping.
|
StartAuditMitigationActionsTaskRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Map<String,List<String>> |
getAuditCheckToActionsMapping()
For an audit check, specifies which mitigation actions to apply.
|
String |
getClientRequestToken()
Each audit mitigation task must have a unique client request token.
|
AuditMitigationActionsTaskTarget |
getTarget()
Specifies the audit findings to which the mitigation actions are applied.
|
String |
getTaskId()
A unique identifier for the task.
|
int |
hashCode() |
void |
setAuditCheckToActionsMapping(Map<String,List<String>> auditCheckToActionsMapping)
For an audit check, specifies which mitigation actions to apply.
|
void |
setClientRequestToken(String clientRequestToken)
Each audit mitigation task must have a unique client request token.
|
void |
setTarget(AuditMitigationActionsTaskTarget target)
Specifies the audit findings to which the mitigation actions are applied.
|
void |
setTaskId(String taskId)
A unique identifier for the task.
|
String |
toString()
Returns a string representation of this object.
|
StartAuditMitigationActionsTaskRequest |
withAuditCheckToActionsMapping(Map<String,List<String>> auditCheckToActionsMapping)
For an audit check, specifies which mitigation actions to apply.
|
StartAuditMitigationActionsTaskRequest |
withClientRequestToken(String clientRequestToken)
Each audit mitigation task must have a unique client request token.
|
StartAuditMitigationActionsTaskRequest |
withTarget(AuditMitigationActionsTaskTarget target)
Specifies the audit findings to which the mitigation actions are applied.
|
StartAuditMitigationActionsTaskRequest |
withTaskId(String taskId)
A unique identifier for the task.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public StartAuditMitigationActionsTaskRequest()
public void setTaskId(String taskId)
A unique identifier for the task. You can use this identifier to check the status of the task or to cancel it.
taskId
- A unique identifier for the task. You can use this identifier to check the status of the task or to cancel
it.public String getTaskId()
A unique identifier for the task. You can use this identifier to check the status of the task or to cancel it.
public StartAuditMitigationActionsTaskRequest withTaskId(String taskId)
A unique identifier for the task. You can use this identifier to check the status of the task or to cancel it.
taskId
- A unique identifier for the task. You can use this identifier to check the status of the task or to cancel
it.public void setTarget(AuditMitigationActionsTaskTarget target)
Specifies the audit findings to which the mitigation actions are applied. You can apply them to a type of audit check, to all findings from an audit, or to a specific set of findings.
target
- Specifies the audit findings to which the mitigation actions are applied. You can apply them to a type of
audit check, to all findings from an audit, or to a specific set of findings.public AuditMitigationActionsTaskTarget getTarget()
Specifies the audit findings to which the mitigation actions are applied. You can apply them to a type of audit check, to all findings from an audit, or to a specific set of findings.
public StartAuditMitigationActionsTaskRequest withTarget(AuditMitigationActionsTaskTarget target)
Specifies the audit findings to which the mitigation actions are applied. You can apply them to a type of audit check, to all findings from an audit, or to a specific set of findings.
target
- Specifies the audit findings to which the mitigation actions are applied. You can apply them to a type of
audit check, to all findings from an audit, or to a specific set of findings.public Map<String,List<String>> getAuditCheckToActionsMapping()
For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your Amazon Web Services accounts.
public void setAuditCheckToActionsMapping(Map<String,List<String>> auditCheckToActionsMapping)
For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your Amazon Web Services accounts.
auditCheckToActionsMapping
- For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your
Amazon Web Services accounts.public StartAuditMitigationActionsTaskRequest withAuditCheckToActionsMapping(Map<String,List<String>> auditCheckToActionsMapping)
For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your Amazon Web Services accounts.
auditCheckToActionsMapping
- For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your
Amazon Web Services accounts.public StartAuditMitigationActionsTaskRequest addAuditCheckToActionsMappingEntry(String key, List<String> value)
public StartAuditMitigationActionsTaskRequest clearAuditCheckToActionsMappingEntries()
public void setClientRequestToken(String clientRequestToken)
Each audit mitigation task must have a unique client request token. If you try to start a new task with the same token as a task that already exists, an exception occurs. If you omit this value, a unique client request token is generated automatically.
clientRequestToken
- Each audit mitigation task must have a unique client request token. If you try to start a new task with
the same token as a task that already exists, an exception occurs. If you omit this value, a unique client
request token is generated automatically.public String getClientRequestToken()
Each audit mitigation task must have a unique client request token. If you try to start a new task with the same token as a task that already exists, an exception occurs. If you omit this value, a unique client request token is generated automatically.
public StartAuditMitigationActionsTaskRequest withClientRequestToken(String clientRequestToken)
Each audit mitigation task must have a unique client request token. If you try to start a new task with the same token as a task that already exists, an exception occurs. If you omit this value, a unique client request token is generated automatically.
clientRequestToken
- Each audit mitigation task must have a unique client request token. If you try to start a new task with
the same token as a task that already exists, an exception occurs. If you omit this value, a unique client
request token is generated automatically.public String toString()
toString
in class Object
Object.toString()
public StartAuditMitigationActionsTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()