Class CfnPentestPropsMixin.AssetsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.securityagent.CfnPentestPropsMixin.AssetsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPentestPropsMixin.AssetsProperty>
- Enclosing interface:
CfnPentestPropsMixin.AssetsProperty
@Stability(Stable)
public static final class CfnPentestPropsMixin.AssetsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPentestPropsMixin.AssetsProperty>
A builder for
CfnPentestPropsMixin.AssetsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPentestPropsMixin.AssetsProperty.getActors()actors(IResolvable actors) Sets the value ofCfnPentestPropsMixin.AssetsProperty.getActors()build()Builds the configured instance.Sets the value ofCfnPentestPropsMixin.AssetsProperty.getDocuments()documents(IResolvable documents) Sets the value ofCfnPentestPropsMixin.AssetsProperty.getDocuments()Sets the value ofCfnPentestPropsMixin.AssetsProperty.getEndpoints()endpoints(IResolvable endpoints) Sets the value ofCfnPentestPropsMixin.AssetsProperty.getEndpoints()integratedRepositories(List<? extends Object> integratedRepositories) Sets the value ofCfnPentestPropsMixin.AssetsProperty.getIntegratedRepositories()integratedRepositories(IResolvable integratedRepositories) Sets the value ofCfnPentestPropsMixin.AssetsProperty.getIntegratedRepositories()sourceCode(List<? extends Object> sourceCode) Sets the value ofCfnPentestPropsMixin.AssetsProperty.getSourceCode()sourceCode(IResolvable sourceCode) Sets the value ofCfnPentestPropsMixin.AssetsProperty.getSourceCode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actors
Sets the value ofCfnPentestPropsMixin.AssetsProperty.getActors()- Parameters:
actors- the value to be set.- Returns:
this
-
actors
@Stability(Stable) public CfnPentestPropsMixin.AssetsProperty.Builder actors(List<? extends Object> actors) Sets the value ofCfnPentestPropsMixin.AssetsProperty.getActors()- Parameters:
actors- the value to be set.- Returns:
this
-
documents
@Stability(Stable) public CfnPentestPropsMixin.AssetsProperty.Builder documents(IResolvable documents) Sets the value ofCfnPentestPropsMixin.AssetsProperty.getDocuments()- Parameters:
documents- the value to be set.- Returns:
this
-
documents
@Stability(Stable) public CfnPentestPropsMixin.AssetsProperty.Builder documents(List<? extends Object> documents) Sets the value ofCfnPentestPropsMixin.AssetsProperty.getDocuments()- Parameters:
documents- the value to be set.- Returns:
this
-
endpoints
@Stability(Stable) public CfnPentestPropsMixin.AssetsProperty.Builder endpoints(IResolvable endpoints) Sets the value ofCfnPentestPropsMixin.AssetsProperty.getEndpoints()- Parameters:
endpoints- the value to be set.- Returns:
this
-
endpoints
@Stability(Stable) public CfnPentestPropsMixin.AssetsProperty.Builder endpoints(List<? extends Object> endpoints) Sets the value ofCfnPentestPropsMixin.AssetsProperty.getEndpoints()- Parameters:
endpoints- the value to be set.- Returns:
this
-
integratedRepositories
@Stability(Stable) public CfnPentestPropsMixin.AssetsProperty.Builder integratedRepositories(IResolvable integratedRepositories) Sets the value ofCfnPentestPropsMixin.AssetsProperty.getIntegratedRepositories()- Parameters:
integratedRepositories- the value to be set.- Returns:
this
-
integratedRepositories
@Stability(Stable) public CfnPentestPropsMixin.AssetsProperty.Builder integratedRepositories(List<? extends Object> integratedRepositories) Sets the value ofCfnPentestPropsMixin.AssetsProperty.getIntegratedRepositories()- Parameters:
integratedRepositories- the value to be set.- Returns:
this
-
sourceCode
@Stability(Stable) public CfnPentestPropsMixin.AssetsProperty.Builder sourceCode(IResolvable sourceCode) Sets the value ofCfnPentestPropsMixin.AssetsProperty.getSourceCode()- Parameters:
sourceCode- the value to be set.- Returns:
this
-
sourceCode
@Stability(Stable) public CfnPentestPropsMixin.AssetsProperty.Builder sourceCode(List<? extends Object> sourceCode) Sets the value ofCfnPentestPropsMixin.AssetsProperty.getSourceCode()- Parameters:
sourceCode- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPentestPropsMixin.AssetsProperty>- Returns:
- a new instance of
CfnPentestPropsMixin.AssetsProperty - Throws:
NullPointerException- if any required attribute was not provided
-