Interface FindingFilter.Builder

All Superinterfaces:
Buildable, CopyableBuilder<FindingFilter.Builder,FindingFilter>, SdkBuilder<FindingFilter.Builder,FindingFilter>, SdkPojo
Enclosing class:
FindingFilter

public static interface FindingFilter.Builder extends SdkPojo, CopyableBuilder<FindingFilter.Builder,FindingFilter>
  • Method Details

    • 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<Attribute>).

      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:
    • 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<Attribute>).

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

      default FindingFilter.Builder creationTimeRange(Consumer<TimestampRange.Builder> creationTimeRange)

      The time range during which the finding is generated.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to creationTimeRange(TimestampRange).

      Parameters:
      creationTimeRange - a consumer that will call methods on TimestampRange.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: