Class CfnArchiveRule.Builder
java.lang.Object
software.amazon.awscdk.services.accessanalyzer.CfnArchiveRule.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnArchiveRule>
- Enclosing class:
CfnArchiveRule
@Stability(Stable)
public static final class CfnArchiveRule.Builder
extends Object
implements software.amazon.jsii.Builder<CfnArchiveRule>
A fluent builder for
CfnArchiveRule.-
Method Summary
Modifier and TypeMethodDescriptionanalyzerName(String analyzerName) The name of the analyzer for the archive rule.build()static CfnArchiveRule.BuilderThe criteria for the archive rule.filter(IResolvable filter) The criteria for the archive rule.The name of the archive rule.
-
Method Details
-
create
@Stability(Stable) public static CfnArchiveRule.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
CfnArchiveRule.Builder.
-
analyzerName
The name of the analyzer for the archive rule.- Parameters:
analyzerName- The name of the analyzer for the archive rule. This parameter is required.- Returns:
this- See Also:
-
filter
The criteria for the archive rule.A map of filter criteria property names to their criterion values.
- Parameters:
filter- The criteria for the archive rule. This parameter is required.- Returns:
this- See Also:
-
filter
The criteria for the archive rule.A map of filter criteria property names to their criterion values.
- Parameters:
filter- The criteria for the archive rule. This parameter is required.- Returns:
this- See Also:
-
ruleName
The name of the archive rule.- Parameters:
ruleName- The name of the archive rule. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnArchiveRule>- Returns:
- a newly built instance of
CfnArchiveRule.
-