public class AuditMitigationActionsTaskTarget
extends java.lang.Object
implements java.io.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(java.lang.String key,
java.util.List<java.lang.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(java.lang.Object obj) |
java.util.Map<java.lang.String,java.util.List<java.lang.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.
|
java.lang.String |
getAuditTaskId()
If the task will apply a mitigation action to findings from a specific
audit, this value uniquely identifies the audit.
|
java.util.List<java.lang.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(java.util.Map<java.lang.String,java.util.List<java.lang.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(java.lang.String auditTaskId)
If the task will apply a mitigation action to findings from a specific
audit, this value uniquely identifies the audit.
|
void |
setFindingIds(java.util.Collection<java.lang.String> findingIds)
If the task will apply a mitigation action to one or more listed
findings, this value uniquely identifies those findings.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AuditMitigationActionsTaskTarget |
withAuditCheckToReasonCodeFilter(java.util.Map<java.lang.String,java.util.List<java.lang.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(java.lang.String auditTaskId)
If the task will apply a mitigation action to findings from a specific
audit, this value uniquely identifies the audit.
|
AuditMitigationActionsTaskTarget |
withFindingIds(java.util.Collection<java.lang.String> findingIds)
If the task will apply a mitigation action to one or more listed
findings, this value uniquely identifies those findings.
|
AuditMitigationActionsTaskTarget |
withFindingIds(java.lang.String... findingIds)
If the task will apply a mitigation action to one or more listed
findings, this value uniquely identifies those findings.
|
public java.lang.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(java.lang.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(java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.util.Map<java.lang.String,java.util.List<java.lang.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(java.util.Map<java.lang.String,java.util.List<java.lang.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(java.util.Map<java.lang.String,java.util.List<java.lang.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(java.lang.String key, java.util.List<java.lang.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 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.