Class CfnArchiveRuleMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.accessanalyzer.CfnArchiveRuleMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnArchiveRuleMixinProps>
- Enclosing interface:
CfnArchiveRuleMixinProps
@Stability(Stable)
public static final class CfnArchiveRuleMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnArchiveRuleMixinProps>
A builder for
CfnArchiveRuleMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalyzerName(String analyzerName) Sets the value ofCfnArchiveRuleMixinProps.getAnalyzerName()build()Builds the configured instance.Sets the value ofCfnArchiveRuleMixinProps.getFilter()filter(IResolvable filter) Sets the value ofCfnArchiveRuleMixinProps.getFilter()Sets the value ofCfnArchiveRuleMixinProps.getRuleName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
analyzerName
Sets the value ofCfnArchiveRuleMixinProps.getAnalyzerName()- Parameters:
analyzerName- The name of the analyzer for the archive rule.- Returns:
this
-
filter
Sets the value ofCfnArchiveRuleMixinProps.getFilter()- Parameters:
filter- The criteria for the archive rule. A map of filter criteria property names to their criterion values.- Returns:
this
-
filter
@Stability(Stable) public CfnArchiveRuleMixinProps.Builder filter(Map<String, ? extends Object> filter) Sets the value ofCfnArchiveRuleMixinProps.getFilter()- Parameters:
filter- The criteria for the archive rule. A map of filter criteria property names to their criterion values.- Returns:
this
-
ruleName
Sets the value ofCfnArchiveRuleMixinProps.getRuleName()- Parameters:
ruleName- The name of the archive rule.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnArchiveRuleMixinProps>- Returns:
- a new instance of
CfnArchiveRuleMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-