Class CfnAssessmentFrameworkProps.Builder
java.lang.Object
software.amazon.awscdk.services.auditmanager.CfnAssessmentFrameworkProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssessmentFrameworkProps>
- Enclosing interface:
CfnAssessmentFrameworkProps
@Stability(Stable)
public static final class CfnAssessmentFrameworkProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssessmentFrameworkProps>
A builder for
CfnAssessmentFrameworkProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.complianceType(String complianceType) Sets the value ofCfnAssessmentFrameworkProps.getComplianceType()controlSets(List<? extends Object> controlSets) Sets the value ofCfnAssessmentFrameworkProps.getControlSets()controlSets(IResolvable controlSets) Sets the value ofCfnAssessmentFrameworkProps.getControlSets()description(String description) Sets the value ofCfnAssessmentFrameworkProps.getDescription()Sets the value ofCfnAssessmentFrameworkProps.getName()Sets the value ofCfnAssessmentFrameworkProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
controlSets
Sets the value ofCfnAssessmentFrameworkProps.getControlSets()- Parameters:
controlSets- The control sets that are associated with the framework. This parameter is required.- Returns:
this
-
controlSets
@Stability(Stable) public CfnAssessmentFrameworkProps.Builder controlSets(List<? extends Object> controlSets) Sets the value ofCfnAssessmentFrameworkProps.getControlSets()- Parameters:
controlSets- The control sets that are associated with the framework. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnAssessmentFrameworkProps.getName()- Parameters:
name- The name of the framework. This parameter is required.- Returns:
this
-
complianceType
Sets the value ofCfnAssessmentFrameworkProps.getComplianceType()- Parameters:
complianceType- The compliance type that the framework supports, such as CIS or HIPAA.- Returns:
this
-
description
Sets the value ofCfnAssessmentFrameworkProps.getDescription()- Parameters:
description- The description of the framework.- Returns:
this
-
tags
Sets the value ofCfnAssessmentFrameworkProps.getTags()- Parameters:
tags- The tags associated with the framework.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssessmentFrameworkProps>- Returns:
- a new instance of
CfnAssessmentFrameworkProps - Throws:
NullPointerException- if any required attribute was not provided
-