public class AuditMitigationActionsTaskTarget extends Object implements Serializable
Used in MitigationActionParams, this information identifies the target findings to which the mitigation actions are applied. Only one entry appears.
| Constructor and Description |
|---|
AuditMitigationActionsTaskTarget() |
| Modifier and Type | Method and Description |
|---|---|
AuditMitigationActionsTaskTarget |
addauditCheckToReasonCodeFilterEntry(String key,
List<String> value)
Specifies a filter in the form of an audit check and set of reason codes
that identify the findings from the audit to which the audit mitigation
actions task apply.
|
AuditMitigationActionsTaskTarget |
clearauditCheckToReasonCodeFilterEntries()
Removes all the entries added into auditCheckToReasonCodeFilter.
|
boolean |
equals(Object obj) |
Map<String,List<String>> |
getAuditCheckToReasonCodeFilter()
Specifies a filter in the form of an audit check and set of reason codes
that identify the findings from the audit to which the audit mitigation
actions task apply.
|
String |
getAuditTaskId()
If the task will apply a mitigation action to findings from a specific
audit, this value uniquely identifies the audit.
|
List<String> |
getFindingIds()
If the task will apply a mitigation action to one or more listed
findings, this value uniquely identifies those findings.
|
int |
hashCode() |
void |
setAuditCheckToReasonCodeFilter(Map<String,List<String>> auditCheckToReasonCodeFilter)
Specifies a filter in the form of an audit check and set of reason codes
that identify the findings from the audit to which the audit mitigation
actions task apply.
|
void |
setAuditTaskId(String auditTaskId)
If the task will apply a mitigation action to findings from a specific
audit, this value uniquely identifies the audit.
|
void |
setFindingIds(Collection<String> findingIds)
If the task will apply a mitigation action to one or more listed
findings, this value uniquely identifies those findings.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AuditMitigationActionsTaskTarget |
withAuditCheckToReasonCodeFilter(Map<String,List<String>> auditCheckToReasonCodeFilter)
Specifies a filter in the form of an audit check and set of reason codes
that identify the findings from the audit to which the audit mitigation
actions task apply.
|
AuditMitigationActionsTaskTarget |
withAuditTaskId(String auditTaskId)
If the task will apply a mitigation action to findings from a specific
audit, this value uniquely identifies the audit.
|
AuditMitigationActionsTaskTarget |
withFindingIds(Collection<String> findingIds)
If the task will apply a mitigation action to one or more listed
findings, this value uniquely identifies those findings.
|
AuditMitigationActionsTaskTarget |
withFindingIds(String... findingIds)
If the task will apply a mitigation action to one or more listed
findings, this value uniquely identifies those findings.
|
public String getAuditTaskId()
If the task will apply a mitigation action to findings from a specific audit, this value uniquely identifies the audit.
Constraints:
Length: 1 - 40
Pattern: [a-zA-Z0-9\-]+
If the task will apply a mitigation action to findings from a specific audit, this value uniquely identifies the audit.
public void setAuditTaskId(String auditTaskId)
If the task will apply a mitigation action to findings from a specific audit, this value uniquely identifies the audit.
Constraints:
Length: 1 - 40
Pattern: [a-zA-Z0-9\-]+
auditTaskId - If the task will apply a mitigation action to findings from a specific audit, this value uniquely identifies the audit.
public AuditMitigationActionsTaskTarget withAuditTaskId(String auditTaskId)
If the task will apply a mitigation action to findings from a specific audit, this value uniquely identifies the audit.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 40
Pattern: [a-zA-Z0-9\-]+
auditTaskId - If the task will apply a mitigation action to findings from a specific audit, this value uniquely identifies the audit.
public List<String> getFindingIds()
If the task will apply a mitigation action to one or more listed findings, this value uniquely identifies those findings.
If the task will apply a mitigation action to one or more listed findings, this value uniquely identifies those findings.
public void setFindingIds(Collection<String> findingIds)
If the task will apply a mitigation action to one or more listed findings, this value uniquely identifies those findings.
findingIds - If the task will apply a mitigation action to one or more listed findings, this value uniquely identifies those findings.
public AuditMitigationActionsTaskTarget withFindingIds(String... findingIds)
If the task will apply a mitigation action to one or more listed findings, this value uniquely identifies those findings.
Returns a reference to this object so that method calls can be chained together.
findingIds - If the task will apply a mitigation action to one or more listed findings, this value uniquely identifies those findings.
public AuditMitigationActionsTaskTarget withFindingIds(Collection<String> findingIds)
If the task will apply a mitigation action to one or more listed findings, this value uniquely identifies those findings.
Returns a reference to this object so that method calls can be chained together.
findingIds - If the task will apply a mitigation action to one or more listed findings, this value uniquely identifies those findings.
public Map<String,List<String>> getAuditCheckToReasonCodeFilter()
Specifies a filter in the form of an audit check and set of reason codes that identify the findings from the audit to which the audit mitigation actions task apply.
Specifies a filter in the form of an audit check and set of reason codes that identify the findings from the audit to which the audit mitigation actions task apply.
public void setAuditCheckToReasonCodeFilter(Map<String,List<String>> auditCheckToReasonCodeFilter)
Specifies a filter in the form of an audit check and set of reason codes that identify the findings from the audit to which the audit mitigation actions task apply.
auditCheckToReasonCodeFilter - Specifies a filter in the form of an audit check and set of reason codes that identify the findings from the audit to which the audit mitigation actions task apply.
public AuditMitigationActionsTaskTarget withAuditCheckToReasonCodeFilter(Map<String,List<String>> auditCheckToReasonCodeFilter)
Specifies a filter in the form of an audit check and set of reason codes that identify the findings from the audit to which the audit mitigation actions task apply.
Returns a reference to this object so that method calls can be chained together.
auditCheckToReasonCodeFilter - Specifies a filter in the form of an audit check and set of reason codes that identify the findings from the audit to which the audit mitigation actions task apply.
public AuditMitigationActionsTaskTarget addauditCheckToReasonCodeFilterEntry(String key, List<String> value)
Specifies a filter in the form of an audit check and set of reason codes that identify the findings from the audit to which the audit mitigation actions task apply.
The method adds a new key-value pair into auditCheckToReasonCodeFilter 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
auditCheckToReasonCodeFilter.value - The corresponding value of the entry to be added into
auditCheckToReasonCodeFilter.public AuditMitigationActionsTaskTarget clearauditCheckToReasonCodeFilterEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.