public class FindingsFilter extends Object implements Serializable, Cloneable
This data type is used as a request parameter in the ListFindings action.
Constructor and Description |
---|
FindingsFilter() |
Modifier and Type | Method and Description |
---|---|
FindingsFilter |
clone() |
boolean |
equals(Object obj) |
List<Attribute> |
getAttributes()
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the attributes
property of the Finding data type.
|
List<String> |
getRuleNames()
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the ruleName
property of the Finding data type.
|
List<String> |
getRulesPackageArns()
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the
rulesPackageArn property of the Finding data type.
|
List<String> |
getSeverities()
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the severity
property of the Finding data type.
|
List<Attribute> |
getUserAttributes()
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the
userAttributes property of the Finding data type.
|
int |
hashCode() |
void |
setAttributes(Collection<Attribute> attributes)
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the attributes
property of the Finding data type.
|
void |
setRuleNames(Collection<String> ruleNames)
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the ruleName
property of the Finding data type.
|
void |
setRulesPackageArns(Collection<String> rulesPackageArns)
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the
rulesPackageArn property of the Finding data type.
|
void |
setSeverities(Collection<String> severities)
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the severity
property of the Finding data type.
|
void |
setUserAttributes(Collection<Attribute> userAttributes)
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the
userAttributes property of the Finding data type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FindingsFilter |
withAttributes(Attribute... attributes)
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the attributes
property of the Finding data type.
|
FindingsFilter |
withAttributes(Collection<Attribute> attributes)
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the attributes
property of the Finding data type.
|
FindingsFilter |
withRuleNames(Collection<String> ruleNames)
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the ruleName
property of the Finding data type.
|
FindingsFilter |
withRuleNames(String... ruleNames)
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the ruleName
property of the Finding data type.
|
FindingsFilter |
withRulesPackageArns(Collection<String> rulesPackageArns)
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the
rulesPackageArn property of the Finding data type.
|
FindingsFilter |
withRulesPackageArns(String... rulesPackageArns)
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the
rulesPackageArn property of the Finding data type.
|
FindingsFilter |
withSeverities(Collection<String> severities)
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the severity
property of the Finding data type.
|
FindingsFilter |
withSeverities(String... severities)
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the severity
property of the Finding data type.
|
FindingsFilter |
withUserAttributes(Attribute... userAttributes)
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the
userAttributes property of the Finding data type.
|
FindingsFilter |
withUserAttributes(Collection<Attribute> userAttributes)
For a record to match a filter, the value specified for this data type
property must be the exact match of the value of the
userAttributes property of the Finding data type.
|
public List<String> getRulesPackageArns()
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the rulesPackageArn property of the Finding data type.
public void setRulesPackageArns(Collection<String> rulesPackageArns)
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the rulesPackageArn property of the Finding data type.
rulesPackageArns
- For a record to match a filter, the value specified for this data
type property must be the exact match of the value of the
rulesPackageArn property of the Finding data type.public FindingsFilter withRulesPackageArns(String... rulesPackageArns)
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the rulesPackageArn property of the Finding data type.
NOTE: This method appends the values to the existing list (if
any). Use setRulesPackageArns(java.util.Collection)
or
withRulesPackageArns(java.util.Collection)
if you want to
override the existing values.
rulesPackageArns
- For a record to match a filter, the value specified for this data
type property must be the exact match of the value of the
rulesPackageArn property of the Finding data type.public FindingsFilter withRulesPackageArns(Collection<String> rulesPackageArns)
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the rulesPackageArn property of the Finding data type.
rulesPackageArns
- For a record to match a filter, the value specified for this data
type property must be the exact match of the value of the
rulesPackageArn property of the Finding data type.public List<String> getRuleNames()
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the ruleName property of the Finding data type.
public void setRuleNames(Collection<String> ruleNames)
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the ruleName property of the Finding data type.
ruleNames
- For a record to match a filter, the value specified for this data
type property must be the exact match of the value of the
ruleName property of the Finding data type.public FindingsFilter withRuleNames(String... ruleNames)
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the ruleName property of the Finding data type.
NOTE: This method appends the values to the existing list (if
any). Use setRuleNames(java.util.Collection)
or
withRuleNames(java.util.Collection)
if you want to override the
existing values.
ruleNames
- For a record to match a filter, the value specified for this data
type property must be the exact match of the value of the
ruleName property of the Finding data type.public FindingsFilter withRuleNames(Collection<String> ruleNames)
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the ruleName property of the Finding data type.
ruleNames
- For a record to match a filter, the value specified for this data
type property must be the exact match of the value of the
ruleName property of the Finding data type.public List<String> getSeverities()
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the severity property of the Finding data type.
public void setSeverities(Collection<String> severities)
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the severity property of the Finding data type.
severities
- For a record to match a filter, the value specified for this data
type property must be the exact match of the value of the
severity property of the Finding data type.public FindingsFilter withSeverities(String... severities)
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the severity property of the Finding data type.
NOTE: This method appends the values to the existing list (if
any). Use setSeverities(java.util.Collection)
or
withSeverities(java.util.Collection)
if you want to override the
existing values.
severities
- For a record to match a filter, the value specified for this data
type property must be the exact match of the value of the
severity property of the Finding data type.public FindingsFilter withSeverities(Collection<String> severities)
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the severity property of the Finding data type.
severities
- For a record to match a filter, the value specified for this data
type property must be the exact match of the value of the
severity property of the Finding data type.public List<Attribute> getAttributes()
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the attributes property of the Finding data type.
public void setAttributes(Collection<Attribute> attributes)
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the attributes property of the Finding data type.
attributes
- For a record to match a filter, the value specified for this data
type property must be the exact match of the value of the
attributes property of the Finding data type.public FindingsFilter withAttributes(Attribute... attributes)
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the attributes property of the Finding data type.
NOTE: This method appends the values to the existing list (if
any). Use setAttributes(java.util.Collection)
or
withAttributes(java.util.Collection)
if you want to override the
existing values.
attributes
- For a record to match a filter, the value specified for this data
type property must be the exact match of the value of the
attributes property of the Finding data type.public FindingsFilter withAttributes(Collection<Attribute> attributes)
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the attributes property of the Finding data type.
attributes
- For a record to match a filter, the value specified for this data
type property must be the exact match of the value of the
attributes property of the Finding data type.public List<Attribute> getUserAttributes()
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the userAttributes property of the Finding data type.
public void setUserAttributes(Collection<Attribute> userAttributes)
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the userAttributes property of the Finding data type.
userAttributes
- For a record to match a filter, the value specified for this data
type property must be the exact match of the value of the
userAttributes property of the Finding data type.public FindingsFilter withUserAttributes(Attribute... userAttributes)
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the userAttributes property of the Finding data type.
NOTE: This method appends the values to the existing list (if
any). Use setUserAttributes(java.util.Collection)
or
withUserAttributes(java.util.Collection)
if you want to override
the existing values.
userAttributes
- For a record to match a filter, the value specified for this data
type property must be the exact match of the value of the
userAttributes property of the Finding data type.public FindingsFilter withUserAttributes(Collection<Attribute> userAttributes)
For a record to match a filter, the value specified for this data type property must be the exact match of the value of the userAttributes property of the Finding data type.
userAttributes
- For a record to match a filter, the value specified for this data
type property must be the exact match of the value of the
userAttributes property of the Finding data type.public String toString()
toString
in class Object
Object.toString()
public FindingsFilter clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.