@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuditMitigationActionsTaskTarget extends Object implements Serializable, Cloneable, StructuredPojo
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)
Add a single AuditCheckToReasonCodeFilter entry
|
AuditMitigationActionsTaskTarget |
clearAuditCheckToReasonCodeFilterEntries()
Removes all the entries added into AuditCheckToReasonCodeFilter.
|
AuditMitigationActionsTaskTarget |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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 void setAuditTaskId(String auditTaskId)
If the task will apply a mitigation action to findings from a specific audit, this value uniquely identifies the audit.
auditTaskId
- If the task will apply a mitigation action to findings from a specific audit, this value uniquely
identifies the audit.public String getAuditTaskId()
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.
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.
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.
NOTE: This method appends the values to the existing list (if any). Use
setFindingIds(java.util.Collection)
or withFindingIds(java.util.Collection)
if you want to
override the existing values.
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.
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.
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.
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)
public AuditMitigationActionsTaskTarget clearAuditCheckToReasonCodeFilterEntries()
public String toString()
toString
in class Object
Object.toString()
public AuditMitigationActionsTaskTarget clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.