Class CfnFindingsFilter.Builder

java.lang.Object
software.amazon.awscdk.services.macie.CfnFindingsFilter.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFindingsFilter>
Enclosing class:
CfnFindingsFilter

@Stability(Stable) public static final class CfnFindingsFilter.Builder extends Object implements software.amazon.jsii.Builder<CfnFindingsFilter>
A fluent builder for CfnFindingsFilter.
  • Method Details

    • create

      @Stability(Stable) public static CfnFindingsFilter.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnFindingsFilter.Builder.
    • findingCriteria

      @Stability(Stable) public CfnFindingsFilter.Builder findingCriteria(IResolvable findingCriteria)
      The criteria to use to filter findings.

      Parameters:
      findingCriteria - The criteria to use to filter findings. This parameter is required.
      Returns:
      this
    • findingCriteria

      @Stability(Stable) public CfnFindingsFilter.Builder findingCriteria(CfnFindingsFilter.FindingCriteriaProperty findingCriteria)
      The criteria to use to filter findings.

      Parameters:
      findingCriteria - The criteria to use to filter findings. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnFindingsFilter.Builder name(String name)
      A custom name for the findings filter. The name can contain 3-64 characters.

      Avoid including sensitive data in the name. Users of the account might be able to see the name, depending on the actions that they're allowed to perform in Amazon Macie .

      Parameters:
      name - A custom name for the findings filter. The name can contain 3-64 characters. This parameter is required.
      Returns:
      this
    • action

      @Stability(Stable) public CfnFindingsFilter.Builder action(String action)
      The action to perform on findings that match the filter criteria ( FindingCriteria ). Valid values are:.

      • ARCHIVE - Suppress (automatically archive) the findings.
      • NOOP - Don't perform any action on the findings.

      Parameters:
      action - The action to perform on findings that match the filter criteria ( FindingCriteria ). Valid values are:. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnFindingsFilter.Builder description(String description)
      A custom description of the findings filter. The description can contain 1-512 characters.

      Avoid including sensitive data in the description. Users of the account might be able to see the description, depending on the actions that they're allowed to perform in Amazon Macie .

      Parameters:
      description - A custom description of the findings filter. The description can contain 1-512 characters. This parameter is required.
      Returns:
      this
    • position

      @Stability(Stable) public CfnFindingsFilter.Builder position(Number position)
      The position of the findings filter in the list of saved filters on the Amazon Macie console.

      This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to findings.

      Parameters:
      position - The position of the findings filter in the list of saved filters on the Amazon Macie console. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnFindingsFilter build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnFindingsFilter>
      Returns:
      a newly built instance of CfnFindingsFilter.