Class CfnPentestMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityagent.CfnPentestMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPentestMixinProps>
- Enclosing interface:
CfnPentestMixinProps
@Stability(Stable)
public static final class CfnPentestMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPentestMixinProps>
A builder for
CfnPentestMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) Sets the value ofCfnPentestMixinProps.getAgentSpaceId()Sets the value ofCfnPentestMixinProps.getAssets()assets(IResolvable assets) Sets the value ofCfnPentestMixinProps.getAssets()build()Builds the configured instance.codeRemediationStrategy(String codeRemediationStrategy) Sets the value ofCfnPentestMixinProps.getCodeRemediationStrategy()excludeRiskTypes(List<String> excludeRiskTypes) Sets the value ofCfnPentestMixinProps.getExcludeRiskTypes()Sets the value ofCfnPentestMixinProps.getLogConfig()logConfig(IResolvable logConfig) Sets the value ofCfnPentestMixinProps.getLogConfig()networkTrafficConfig(CfnPentestPropsMixin.NetworkTrafficConfigProperty networkTrafficConfig) Sets the value ofCfnPentestMixinProps.getNetworkTrafficConfig()networkTrafficConfig(IResolvable networkTrafficConfig) Sets the value ofCfnPentestMixinProps.getNetworkTrafficConfig()serviceRole(String serviceRole) Sets the value ofCfnPentestMixinProps.getServiceRole()Sets the value ofCfnPentestMixinProps.getTitle()vpcConfig(CfnPentestPropsMixin.VpcConfigProperty vpcConfig) Sets the value ofCfnPentestMixinProps.getVpcConfig()vpcConfig(IResolvable vpcConfig) Sets the value ofCfnPentestMixinProps.getVpcConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentSpaceId
Sets the value ofCfnPentestMixinProps.getAgentSpaceId()- Parameters:
agentSpaceId- the value to be set.- Returns:
this
-
assets
Sets the value ofCfnPentestMixinProps.getAssets()- Parameters:
assets- the value to be set.- Returns:
this
-
assets
@Stability(Stable) public CfnPentestMixinProps.Builder assets(CfnPentestPropsMixin.AssetsProperty assets) Sets the value ofCfnPentestMixinProps.getAssets()- Parameters:
assets- the value to be set.- Returns:
this
-
codeRemediationStrategy
@Stability(Stable) public CfnPentestMixinProps.Builder codeRemediationStrategy(String codeRemediationStrategy) Sets the value ofCfnPentestMixinProps.getCodeRemediationStrategy()- Parameters:
codeRemediationStrategy- the value to be set.- Returns:
this
-
excludeRiskTypes
@Stability(Stable) public CfnPentestMixinProps.Builder excludeRiskTypes(List<String> excludeRiskTypes) Sets the value ofCfnPentestMixinProps.getExcludeRiskTypes()- Parameters:
excludeRiskTypes- the value to be set.- Returns:
this
-
logConfig
Sets the value ofCfnPentestMixinProps.getLogConfig()- Parameters:
logConfig- the value to be set.- Returns:
this
-
logConfig
@Stability(Stable) public CfnPentestMixinProps.Builder logConfig(CfnPentestPropsMixin.CloudWatchLogProperty logConfig) Sets the value ofCfnPentestMixinProps.getLogConfig()- Parameters:
logConfig- the value to be set.- Returns:
this
-
networkTrafficConfig
@Stability(Stable) public CfnPentestMixinProps.Builder networkTrafficConfig(IResolvable networkTrafficConfig) Sets the value ofCfnPentestMixinProps.getNetworkTrafficConfig()- Parameters:
networkTrafficConfig- the value to be set.- Returns:
this
-
networkTrafficConfig
@Stability(Stable) public CfnPentestMixinProps.Builder networkTrafficConfig(CfnPentestPropsMixin.NetworkTrafficConfigProperty networkTrafficConfig) Sets the value ofCfnPentestMixinProps.getNetworkTrafficConfig()- Parameters:
networkTrafficConfig- the value to be set.- Returns:
this
-
serviceRole
Sets the value ofCfnPentestMixinProps.getServiceRole()- Parameters:
serviceRole- the value to be set.- Returns:
this
-
title
Sets the value ofCfnPentestMixinProps.getTitle()- Parameters:
title- the value to be set.- Returns:
this
-
vpcConfig
Sets the value ofCfnPentestMixinProps.getVpcConfig()- Parameters:
vpcConfig- the value to be set.- Returns:
this
-
vpcConfig
@Stability(Stable) public CfnPentestMixinProps.Builder vpcConfig(CfnPentestPropsMixin.VpcConfigProperty vpcConfig) Sets the value ofCfnPentestMixinProps.getVpcConfig()- Parameters:
vpcConfig- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPentestMixinProps>- Returns:
- a new instance of
CfnPentestMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-