Class CfnAnalyzer.Builder
java.lang.Object
software.amazon.awscdk.services.accessanalyzer.CfnAnalyzer.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalyzer>
- Enclosing class:
CfnAnalyzer
@Stability(Stable)
public static final class CfnAnalyzer.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalyzer>
A fluent builder for
CfnAnalyzer.-
Method Summary
Modifier and TypeMethodDescriptionanalyzerName(String analyzerName) The name of the analyzer.archiveRules(List<? extends Object> archiveRules) Specifies the archive rules to add for the analyzer.archiveRules(IResolvable archiveRules) Specifies the archive rules to add for the analyzer.build()static CfnAnalyzer.BuilderThe tags to apply to the analyzer.The type represents the zone of trust for the analyzer.
-
Method Details
-
create
@Stability(Stable) public static CfnAnalyzer.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
CfnAnalyzer.Builder.
-
type
The type represents the zone of trust for the analyzer.Allowed Values : ACCOUNT | ORGANIZATION
- Parameters:
type- The type represents the zone of trust for the analyzer. This parameter is required.- Returns:
this- See Also:
-
analyzerName
The name of the analyzer.- Parameters:
analyzerName- The name of the analyzer. This parameter is required.- Returns:
this- See Also:
-
archiveRules
Specifies the archive rules to add for the analyzer.- Parameters:
archiveRules- Specifies the archive rules to add for the analyzer. This parameter is required.- Returns:
this- See Also:
-
archiveRules
Specifies the archive rules to add for the analyzer.- Parameters:
archiveRules- Specifies the archive rules to add for the analyzer. This parameter is required.- Returns:
this- See Also:
-
tags
The tags to apply to the analyzer.- Parameters:
tags- The tags to apply to the analyzer. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalyzer>- Returns:
- a newly built instance of
CfnAnalyzer.
-