Class FindingFilter

    • Constructor Summary

      Constructors 
      Constructor Description
      FindingFilter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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​(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​(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 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​(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​(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 withCreationTimeRange​(TimestampRange creationTimeRange)
      The time range during which the finding is generated.
      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 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 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 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 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 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 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.
    • Constructor Detail

      • FindingFilter

        public FindingFilter()
    • 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) or withAgentIds(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) or withAutoScalingGroups(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) or withRuleNames(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.

        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:
        Severity
      • 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.

        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:
        Severity
      • 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) or withSeverities(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) or withRulesPackageArns(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) or withAttributes(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) or withUserAttributes(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:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object