public class FindingFilter
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
This data type is used as a request parameter in the ListFindings action.
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.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.
|
private java.util.List<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.
|
private java.util.List<java.lang.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.
|
private TimestampRange |
creationTimeRange
The time range during which the finding is generated.
|
private java.util.List<java.lang.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.
|
private java.util.List<java.lang.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.
|
private java.util.List<java.lang.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.
|
private java.util.List<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.
|
Constructor and Description |
---|
FindingFilter() |
Modifier and Type | Method and Description |
---|---|
FindingFilter |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.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.
|
java.util.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.
|
java.util.List<java.lang.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.
|
java.util.List<java.lang.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.
|
java.util.List<java.lang.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.
|
java.util.List<java.lang.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.
|
java.util.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(java.util.Collection<java.lang.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(java.util.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(java.util.Collection<java.lang.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(java.util.Collection<java.lang.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(java.util.Collection<java.lang.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(java.util.Collection<java.lang.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(java.util.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
FindingFilter |
withAgentIds(java.util.Collection<java.lang.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(java.lang.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(java.util.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.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.
|
private java.util.List<java.lang.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.
private java.util.List<java.lang.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.
private java.util.List<java.lang.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.
private java.util.List<java.lang.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.
private java.util.List<java.lang.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.
private java.util.List<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.
private java.util.List<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.
private TimestampRange creationTimeRange
The time range during which the finding is generated.
public java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.util.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(java.util.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(java.util.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 java.util.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(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public FindingFilter clone()
clone
in class java.lang.Object