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