public class StartAuditMitigationActionsTaskRequest extends AmazonWebServiceRequest implements java.io.Serializable
Starts a task that applies a set of mitigation actions to the specified target.
| Constructor and Description | 
|---|
| StartAuditMitigationActionsTaskRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| StartAuditMitigationActionsTaskRequest | addauditCheckToActionsMappingEntry(java.lang.String key,
                                  java.util.List<java.lang.String> value)
 For an audit check, specifies which mitigation actions to apply. | 
| StartAuditMitigationActionsTaskRequest | clearauditCheckToActionsMappingEntries()Removes all the entries added into auditCheckToActionsMapping. | 
| boolean | equals(java.lang.Object obj) | 
| java.util.Map<java.lang.String,java.util.List<java.lang.String>> | getAuditCheckToActionsMapping()
 For an audit check, specifies which mitigation actions to apply. | 
| java.lang.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. | 
| java.lang.String | getTaskId()
 A unique identifier for the task. | 
| int | hashCode() | 
| void | setAuditCheckToActionsMapping(java.util.Map<java.lang.String,java.util.List<java.lang.String>> auditCheckToActionsMapping)
 For an audit check, specifies which mitigation actions to apply. | 
| void | setClientRequestToken(java.lang.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(java.lang.String taskId)
 A unique identifier for the task. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| StartAuditMitigationActionsTaskRequest | withAuditCheckToActionsMapping(java.util.Map<java.lang.String,java.util.List<java.lang.String>> auditCheckToActionsMapping)
 For an audit check, specifies which mitigation actions to apply. | 
| StartAuditMitigationActionsTaskRequest | withClientRequestToken(java.lang.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(java.lang.String taskId)
 A unique identifier for the task. | 
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic StartAuditMitigationActionsTaskRequest()
public java.lang.String getTaskId()
A unique identifier for the task. You can use this identifier to check the status of the task or to cancel it.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9_-]+
A unique identifier for the task. You can use this identifier to check the status of the task or to cancel it.
public void setTaskId(java.lang.String taskId)
A unique identifier for the task. You can use this identifier to check the status of the task or to cancel it.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9_-]+
taskId - 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(java.lang.String taskId)
A unique identifier for the task. You can use this identifier to check the status of the task or to cancel it.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9_-]+
taskId - A unique identifier for the task. You can use this identifier to check the status of the task or to cancel it.
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.
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 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 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.
Returns a reference to this object so that method calls can be chained together.
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 java.util.Map<java.lang.String,java.util.List<java.lang.String>> getAuditCheckToActionsMapping()
For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your AWS account.
For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your AWS account.
public void setAuditCheckToActionsMapping(java.util.Map<java.lang.String,java.util.List<java.lang.String>> auditCheckToActionsMapping)
For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your AWS account.
auditCheckToActionsMapping - For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your AWS account.
public StartAuditMitigationActionsTaskRequest withAuditCheckToActionsMapping(java.util.Map<java.lang.String,java.util.List<java.lang.String>> auditCheckToActionsMapping)
For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your AWS account.
Returns a reference to this object so that method calls can be chained together.
auditCheckToActionsMapping - For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your AWS account.
public StartAuditMitigationActionsTaskRequest addauditCheckToActionsMappingEntry(java.lang.String key, java.util.List<java.lang.String> value)
For an audit check, specifies which mitigation actions to apply. Those actions must be defined in your AWS account.
The method adds a new key-value pair into auditCheckToActionsMapping parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into
            auditCheckToActionsMapping.value - The corresponding value of the entry to be added into
            auditCheckToActionsMapping.public StartAuditMitigationActionsTaskRequest clearauditCheckToActionsMappingEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.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.
 Constraints:
 Length: 1 - 64
 Pattern: ^[a-zA-Z0-9-_]+$
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 void setClientRequestToken(java.lang.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.
 Constraints:
 Length: 1 - 64
 Pattern: ^[a-zA-Z0-9-_]+$
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 StartAuditMitigationActionsTaskRequest withClientRequestToken(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 64
 Pattern: ^[a-zA-Z0-9-_]+$
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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.