Class FindingFilter
- All Implemented Interfaces:
Serializable
,Cloneable
This data type is used as a request parameter in the ListFindings action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
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.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.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.The time range during which the finding is generated.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.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.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.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.toString()
Returns a string representation of this object; useful for testing and debugging.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.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.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.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.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.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.withCreationTimeRange
(TimestampRange creationTimeRange) The time range during which the finding is generated.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.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.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.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.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.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.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.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.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.
-
Constructor Details
-
FindingFilter
public FindingFilter()
-
-
Method Details
-
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.
- Returns:
- 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.
-
setAgentIds
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.
- Parameters:
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.
-
withAgentIds
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)
orwithAgentIds(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAgentIds
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Returns:
- 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.
-
setAutoScalingGroups
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.
- Parameters:
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.
-
withAutoScalingGroups
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)
orwithAutoScalingGroups(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAutoScalingGroups
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Returns:
- 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.
-
setRuleNames
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.
- Parameters:
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.
-
withRuleNames
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)
orwithRuleNames(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRuleNames
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Returns:
- 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.
- See Also:
-
setSeverities
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.
- Parameters:
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.- See Also:
-
withSeverities
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)
orwithSeverities(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withSeverities
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withSeverities
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Returns:
- 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.
-
setRulesPackageArns
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.
- Parameters:
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.
-
withRulesPackageArns
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)
orwithRulesPackageArns(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRulesPackageArns
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Returns:
- 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.
-
setAttributes
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.
- Parameters:
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.
-
withAttributes
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)
orwithAttributes(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withAttributes
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Returns:
- 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.
-
setUserAttributes
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.
- Parameters:
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.
-
withUserAttributes
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)
orwithUserAttributes(java.util.Collection)
if you want to override the existing values.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withUserAttributes
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCreationTimeRange
The time range during which the finding is generated.
- Parameters:
creationTimeRange
- The time range during which the finding is generated.
-
getCreationTimeRange
The time range during which the finding is generated.
- Returns:
- The time range during which the finding is generated.
-
withCreationTimeRange
The time range during which the finding is generated.
- Parameters:
creationTimeRange
- The time range during which the finding is generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-