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 Summary
Modifier and TypeMethodDescriptionThe action to perform on findings that match the filter criteria (FindingCriteria
).build()
static CfnFindingsFilter.Builder
description
(String description) A custom description of the findings filter.findingCriteria
(IResolvable findingCriteria) The criteria to use to filter findings.findingCriteria
(CfnFindingsFilter.FindingCriteriaProperty findingCriteria) The criteria to use to filter findings.A custom name for the findings filter.The position of the findings filter in the list of saved filter rules on the Amazon Macie console.An array of key-value pairs to apply to the findings filter.
-
Method Details
-
create
@Stability(Stable) public static CfnFindingsFilter.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnFindingsFilter.Builder
.
-
findingCriteria
The criteria to use to filter findings.- Parameters:
findingCriteria
- The criteria to use to filter findings. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
position
The position of the findings filter in the list of saved filter rules 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 filter rules on the Amazon Macie console. This parameter is required.- Returns:
this
- See Also:
-
tags
An array of key-value pairs to apply to the findings filter.For more information, see Resource tag .
- Parameters:
tags
- An array of key-value pairs to apply to the findings filter. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFindingsFilter>
- Returns:
- a newly built instance of
CfnFindingsFilter
.
-