Class FindingFilter
- java.lang.Object
-
- com.amazonaws.services.inspector.model.FindingFilter
-
- All Implemented Interfaces:
Serializable,Cloneable
public class FindingFilter extends Object implements Serializable, Cloneable
This data type is used as a request parameter in the ListFindings action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FindingFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FindingFilterclone()booleanequals(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.TimestampRangegetCreationTimeRange()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.inthashCode()voidsetAgentIds(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.voidsetAttributes(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.voidsetAutoScalingGroups(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.voidsetCreationTimeRange(TimestampRange creationTimeRange)The time range during which the finding is generated.voidsetRuleNames(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.voidsetRulesPackageArns(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.voidsetSeverities(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.voidsetUserAttributes(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.StringtoString()Returns a string representation of this object; useful for testing and debugging.FindingFilterwithAgentIds(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.FindingFilterwithAgentIds(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.FindingFilterwithAttributes(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.FindingFilterwithAttributes(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.FindingFilterwithAutoScalingGroups(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.FindingFilterwithAutoScalingGroups(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.FindingFilterwithCreationTimeRange(TimestampRange creationTimeRange)The time range during which the finding is generated.FindingFilterwithRuleNames(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.FindingFilterwithRuleNames(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.FindingFilterwithRulesPackageArns(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.FindingFilterwithRulesPackageArns(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.FindingFilterwithSeverities(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.FindingFilterwithSeverities(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.FindingFilterwithSeverities(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.FindingFilterwithUserAttributes(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.FindingFilterwithUserAttributes(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.
-
-
-
Method Detail
-
getAgentIds
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.
- 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
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.
- 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
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)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
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.
- 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
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.
- 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
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.
- 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
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)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
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.
- 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
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.
- 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
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.
- 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
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)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
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.
- 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
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.
-
setSeverities
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.
-
withSeverities
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)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:
Severity
-
withSeverities
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.
- 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:
Severity
-
withSeverities
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.
- 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:
Severity
-
getRulesPackageArns
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.
- 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
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.
- 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
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)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
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.
- 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
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.
- 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
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.
- 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
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)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
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.
- 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
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.
- 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
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.
- 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
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)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
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.
- 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
public void setCreationTimeRange(TimestampRange creationTimeRange)
The time range during which the finding is generated.
- Parameters:
creationTimeRange- The time range during which the finding is generated.
-
getCreationTimeRange
public TimestampRange getCreationTimeRange()
The time range during which the finding is generated.
- Returns:
- The time range during which the finding is generated.
-
withCreationTimeRange
public FindingFilter withCreationTimeRange(TimestampRange creationTimeRange)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public FindingFilter clone()
-
-