Class CfnAgentSpace.CodeReviewSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.securityagent.CfnAgentSpace.CodeReviewSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAgentSpace.CodeReviewSettingsProperty>
- Enclosing interface:
CfnAgentSpace.CodeReviewSettingsProperty
@Stability(Stable)
public static final class CfnAgentSpace.CodeReviewSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAgentSpace.CodeReviewSettingsProperty>
A builder for
CfnAgentSpace.CodeReviewSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.controlsScanning(Boolean controlsScanning) Sets the value ofCfnAgentSpace.CodeReviewSettingsProperty.getControlsScanning()controlsScanning(IResolvable controlsScanning) Sets the value ofCfnAgentSpace.CodeReviewSettingsProperty.getControlsScanning()generalPurposeScanning(Boolean generalPurposeScanning) Sets the value ofCfnAgentSpace.CodeReviewSettingsProperty.getGeneralPurposeScanning()generalPurposeScanning(IResolvable generalPurposeScanning) Sets the value ofCfnAgentSpace.CodeReviewSettingsProperty.getGeneralPurposeScanning()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
controlsScanning
@Stability(Stable) public CfnAgentSpace.CodeReviewSettingsProperty.Builder controlsScanning(Boolean controlsScanning) Sets the value ofCfnAgentSpace.CodeReviewSettingsProperty.getControlsScanning()- Parameters:
controlsScanning- Whether Controls are utilized for code review analysis. This parameter is required.- Returns:
this
-
controlsScanning
@Stability(Stable) public CfnAgentSpace.CodeReviewSettingsProperty.Builder controlsScanning(IResolvable controlsScanning) Sets the value ofCfnAgentSpace.CodeReviewSettingsProperty.getControlsScanning()- Parameters:
controlsScanning- Whether Controls are utilized for code review analysis. This parameter is required.- Returns:
this
-
generalPurposeScanning
@Stability(Stable) public CfnAgentSpace.CodeReviewSettingsProperty.Builder generalPurposeScanning(Boolean generalPurposeScanning) Sets the value ofCfnAgentSpace.CodeReviewSettingsProperty.getGeneralPurposeScanning()- Parameters:
generalPurposeScanning- Whether general purpose analysis is performed for code review. This parameter is required.- Returns:
this
-
generalPurposeScanning
@Stability(Stable) public CfnAgentSpace.CodeReviewSettingsProperty.Builder generalPurposeScanning(IResolvable generalPurposeScanning) Sets the value ofCfnAgentSpace.CodeReviewSettingsProperty.getGeneralPurposeScanning()- Parameters:
generalPurposeScanning- Whether general purpose analysis is performed for code review. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAgentSpace.CodeReviewSettingsProperty>- Returns:
- a new instance of
CfnAgentSpace.CodeReviewSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-