Interface FindingFilter.Builder

    • Method Detail

      • agentIds

        FindingFilter.Builder agentIds​(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.
      • agentIds

        FindingFilter.Builder agentIds​(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.
      • autoScalingGroups

        FindingFilter.Builder autoScalingGroups​(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.
      • autoScalingGroups

        FindingFilter.Builder autoScalingGroups​(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.
      • ruleNames

        FindingFilter.Builder ruleNames​(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.
      • ruleNames

        FindingFilter.Builder ruleNames​(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.
      • severitiesWithStrings

        FindingFilter.Builder severitiesWithStrings​(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.
      • severitiesWithStrings

        FindingFilter.Builder severitiesWithStrings​(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.
      • severities

        FindingFilter.Builder severities​(Collection<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.
      • severities

        FindingFilter.Builder severities​(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.
      • rulesPackageArns

        FindingFilter.Builder rulesPackageArns​(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.
      • rulesPackageArns

        FindingFilter.Builder rulesPackageArns​(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.
      • attributes

        FindingFilter.Builder attributes​(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.
      • attributes

        FindingFilter.Builder attributes​(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.
      • attributes

        FindingFilter.Builder attributes​(Consumer<Attribute.Builder>... 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.

        This is a convenience method that creates an instance of the Attribute.Builder avoiding the need to create one manually via Attribute.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #attributes(List).

        Parameters:
        attributes - a consumer that will call methods on Attribute.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #attributes(java.util.Collection)
      • userAttributes

        FindingFilter.Builder userAttributes​(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.
      • userAttributes

        FindingFilter.Builder userAttributes​(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.
      • userAttributes

        FindingFilter.Builder userAttributes​(Consumer<Attribute.Builder>... 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.

        This is a convenience method that creates an instance of the Attribute.Builder avoiding the need to create one manually via Attribute.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #userAttributes(List).

        Parameters:
        userAttributes - a consumer that will call methods on Attribute.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #userAttributes(java.util.Collection)
      • creationTimeRange

        FindingFilter.Builder creationTimeRange​(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.