public class FindingFilter extends Object implements Serializable, Cloneable
This data type is used as a request parameter in the ListFindings action.
Constructor and Description |
---|
FindingFilter() |
Modifier and Type | Method and Description |
---|---|
FindingFilter |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAgentIds()
For a record to match a filter, one of the values that is specified for
this data type property must be the exact match of the value of the
agentId property of the Finding data type.
|
List<Attribute> |
getAttributes()
For a record to match a filter, the list of values that are specified for
this data type property must be contained in the list of values of the
attributes property of the Finding data type.
|
List<String> |
getAutoScalingGroups()
For a record to match a filter, one of the values that is specified for
this data type property must be the exact match of the value of the
autoScalingGroup property of the Finding data type.
|
TimestampRange |
getCreationTimeRange()
The time range during which the finding is generated.
|
List<String> |
getRuleNames()
For a record to match a filter, one of the values that is 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, one of the values that is 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, one of the values that is 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 that is specified for this data
type property must be contained in the list of values of the
userAttributes property of the Finding data type.
|
int |
hashCode() |
void |
setAgentIds(Collection<String> agentIds)
For a record to match a filter, one of the values that is specified for
this data type property must be the exact match of the value of the
agentId property of the Finding data type.
|
void |
setAttributes(Collection<Attribute> attributes)
For a record to match a filter, the list of values that are specified for
this data type property must be contained in the list of values of the
attributes property of the Finding data type.
|
void |
setAutoScalingGroups(Collection<String> autoScalingGroups)
For a record to match a filter, one of the values that is specified for
this data type property must be the exact match of the value of the
autoScalingGroup property of the Finding data type.
|
void |
setCreationTimeRange(TimestampRange creationTimeRange)
The time range during which the finding is generated.
|
void |
setRuleNames(Collection<String> ruleNames)
For a record to match a filter, one of the values that is 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, one of the values that is 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, one of the values that is 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 that is specified for this data
type property must be contained in the list of values of the
userAttributes property of the Finding data type.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FindingFilter |
withAgentIds(Collection<String> agentIds)
For a record to match a filter, one of the values that is specified for
this data type property must be the exact match of the value of the
agentId property of the Finding data type.
|
FindingFilter |
withAgentIds(String... agentIds)
For a record to match a filter, one of the values that is specified for
this data type property must be the exact match of the value of the
agentId property of the Finding data type.
|
FindingFilter |
withAttributes(Attribute... attributes)
For a record to match a filter, the list of values that are specified for
this data type property must be contained in the list of values of the
attributes property of the Finding data type.
|
FindingFilter |
withAttributes(Collection<Attribute> attributes)
For a record to match a filter, the list of values that are specified for
this data type property must be contained in the list of values of the
attributes property of the Finding data type.
|
FindingFilter |
withAutoScalingGroups(Collection<String> autoScalingGroups)
For a record to match a filter, one of the values that is specified for
this data type property must be the exact match of the value of the
autoScalingGroup property of the Finding data type.
|
FindingFilter |
withAutoScalingGroups(String... autoScalingGroups)
For a record to match a filter, one of the values that is specified for
this data type property must be the exact match of the value of the
autoScalingGroup property of the Finding data type.
|
FindingFilter |
withCreationTimeRange(TimestampRange creationTimeRange)
The time range during which the finding is generated.
|
FindingFilter |
withRuleNames(Collection<String> ruleNames)
For a record to match a filter, one of the values that is specified for
this data type property must be the exact match of the value of the
ruleName property of the Finding data type.
|
FindingFilter |
withRuleNames(String... ruleNames)
For a record to match a filter, one of the values that is specified for
this data type property must be the exact match of the value of the
ruleName property of the Finding data type.
|
FindingFilter |
withRulesPackageArns(Collection<String> rulesPackageArns)
For a record to match a filter, one of the values that is specified for
this data type property must be the exact match of the value of the
rulesPackageArn property of the Finding data type.
|
FindingFilter |
withRulesPackageArns(String... rulesPackageArns)
For a record to match a filter, one of the values that is specified for
this data type property must be the exact match of the value of the
rulesPackageArn property of the Finding data type.
|
FindingFilter |
withSeverities(Collection<String> severities)
For a record to match a filter, one of the values that is specified for
this data type property must be the exact match of the value of the
severity property of the Finding data type.
|
FindingFilter |
withSeverities(Severity... severities)
For a record to match a filter, one of the values that is specified for
this data type property must be the exact match of the value of the
severity property of the Finding data type.
|
FindingFilter |
withSeverities(String... severities)
For a record to match a filter, one of the values that is specified for
this data type property must be the exact match of the value of the
severity property of the Finding data type.
|
FindingFilter |
withUserAttributes(Attribute... userAttributes)
For a record to match a filter, the value that is specified for this data
type property must be contained in the list of values of the
userAttributes property of the Finding data type.
|
FindingFilter |
withUserAttributes(Collection<Attribute> userAttributes)
For a record to match a filter, the value that is specified for this data
type property must be contained in the list of values of the
userAttributes property of the Finding data type.
|
public List<String> getAgentIds()
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the agentId property of the Finding data type.
public void setAgentIds(Collection<String> agentIds)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the agentId property of the Finding data type.
agentIds
- For a record to match a filter, one of the values that is
specified for this data type property must be the exact match of
the value of the agentId property of the Finding
data type.public FindingFilter withAgentIds(String... agentIds)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the agentId property of the Finding data type.
NOTE: This method appends the values to the existing list (if
any). Use setAgentIds(java.util.Collection)
or
withAgentIds(java.util.Collection)
if you want to override the
existing values.
agentIds
- For a record to match a filter, one of the values that is
specified for this data type property must be the exact match of
the value of the agentId property of the Finding
data type.public FindingFilter withAgentIds(Collection<String> agentIds)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the agentId property of the Finding data type.
agentIds
- For a record to match a filter, one of the values that is
specified for this data type property must be the exact match of
the value of the agentId property of the Finding
data type.public List<String> getAutoScalingGroups()
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the autoScalingGroup property of the Finding data type.
public void setAutoScalingGroups(Collection<String> autoScalingGroups)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the autoScalingGroup property of the Finding data type.
autoScalingGroups
- For a record to match a filter, one of the values that is
specified for this data type property must be the exact match of
the value of the autoScalingGroup property of the
Finding data type.public FindingFilter withAutoScalingGroups(String... autoScalingGroups)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the autoScalingGroup property of the Finding data type.
NOTE: This method appends the values to the existing list (if
any). Use setAutoScalingGroups(java.util.Collection)
or
withAutoScalingGroups(java.util.Collection)
if you want to
override the existing values.
autoScalingGroups
- For a record to match a filter, one of the values that is
specified for this data type property must be the exact match of
the value of the autoScalingGroup property of the
Finding data type.public FindingFilter withAutoScalingGroups(Collection<String> autoScalingGroups)
For a record to match a filter, one of the values that is specified for this data type property must be the exact match of the value of the autoScalingGroup property of the Finding data type.
autoScalingGroups
- For a record to match a filter, one of the values that is
specified for this data type property must be the exact match of
the value of the autoScalingGroup property of the
Finding data type.public List<String> getRuleNames()
For a record to match a filter, one of the values that is 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, one of the values that is 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, one of the values that is
specified for this data type property must be the exact match of
the value of the ruleName property of the Finding
data type.public FindingFilter withRuleNames(String... ruleNames)
For a record to match a filter, one of the values that is 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, one of the values that is
specified for this data type property must be the exact match of
the value of the ruleName property of the Finding
data type.public FindingFilter withRuleNames(Collection<String> ruleNames)
For a record to match a filter, one of the values that is 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, one of the values that is
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, one of the values that is 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, one of the values that is specified for this data type property must be the exact match of the value of the severity property of the Finding data type.
public FindingFilter withSeverities(String... severities)
For a record to match a filter, one of the values that is 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, one of the values that is
specified for this data type property must be the exact match of
the value of the severity property of the Finding
data type.Severity
public FindingFilter withSeverities(Collection<String> severities)
For a record to match a filter, one of the values that is 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, one of the values that is
specified for this data type property must be the exact match of
the value of the severity property of the Finding
data type.Severity
public FindingFilter withSeverities(Severity... severities)
For a record to match a filter, one of the values that is 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, one of the values that is
specified for this data type property must be the exact match of
the value of the severity property of the Finding
data type.Severity
public List<String> getRulesPackageArns()
For a record to match a filter, one of the values that is 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, one of the values that is 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, one of the values that is
specified for this data type property must be the exact match of
the value of the rulesPackageArn property of the
Finding data type.public FindingFilter withRulesPackageArns(String... rulesPackageArns)
For a record to match a filter, one of the values that is 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, one of the values that is
specified for this data type property must be the exact match of
the value of the rulesPackageArn property of the
Finding data type.public FindingFilter withRulesPackageArns(Collection<String> rulesPackageArns)
For a record to match a filter, one of the values that is 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, one of the values that is
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<Attribute> getAttributes()
For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the attributes property of the Finding data type.
public void setAttributes(Collection<Attribute> attributes)
For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the attributes property of the Finding data type.
attributes
- For a record to match a filter, the list of values that are
specified for this data type property must be contained in the
list of values of the attributes property of the
Finding data type.public FindingFilter withAttributes(Attribute... attributes)
For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values 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 list of values that are
specified for this data type property must be contained in the
list of values of the attributes property of the
Finding data type.public FindingFilter withAttributes(Collection<Attribute> attributes)
For a record to match a filter, the list of values that are specified for this data type property must be contained in the list of values of the attributes property of the Finding data type.
attributes
- For a record to match a filter, the list of values that are
specified for this data type property must be contained in the
list of values of the attributes property of the
Finding data type.public List<Attribute> getUserAttributes()
For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the userAttributes property of the Finding data type.
public void setUserAttributes(Collection<Attribute> userAttributes)
For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the userAttributes property of the Finding data type.
userAttributes
- For a record to match a filter, the value that is specified for
this data type property must be contained in the list of values of
the userAttributes property of the Finding data
type.public FindingFilter withUserAttributes(Attribute... userAttributes)
For a record to match a filter, the value that is specified for this data type property must be contained in the list of values 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 that is specified for
this data type property must be contained in the list of values of
the userAttributes property of the Finding data
type.public FindingFilter withUserAttributes(Collection<Attribute> userAttributes)
For a record to match a filter, the value that is specified for this data type property must be contained in the list of values of the userAttributes property of the Finding data type.
userAttributes
- For a record to match a filter, the value that is specified for
this data type property must be contained in the list of values of
the userAttributes property of the Finding data
type.public void setCreationTimeRange(TimestampRange creationTimeRange)
The time range during which the finding is generated.
creationTimeRange
- The time range during which the finding is generated.public TimestampRange getCreationTimeRange()
The time range during which the finding is generated.
public FindingFilter withCreationTimeRange(TimestampRange creationTimeRange)
The time range during which the finding is generated.
creationTimeRange
- The time range during which the finding is generated.public String toString()
toString
in class Object
Object.toString()
public FindingFilter clone()
Copyright © 2018. All rights reserved.