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