Class UntrustedCodeBoundaryPolicyProps.Builder
java.lang.Object
software.amazon.awscdk.services.codebuild.UntrustedCodeBoundaryPolicyProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<UntrustedCodeBoundaryPolicyProps>
- Enclosing interface:
UntrustedCodeBoundaryPolicyProps
@Stability(Stable)
public static final class UntrustedCodeBoundaryPolicyProps.Builder
extends Object
implements software.amazon.jsii.Builder<UntrustedCodeBoundaryPolicyProps>
A builder for
UntrustedCodeBoundaryPolicyProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadditionalStatements
(List<? extends PolicyStatement> additionalStatements) Sets the value ofUntrustedCodeBoundaryPolicyProps.getAdditionalStatements()
build()
Builds the configured instance.managedPolicyName
(String managedPolicyName) Sets the value ofUntrustedCodeBoundaryPolicyProps.getManagedPolicyName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalStatements
@Stability(Stable) public UntrustedCodeBoundaryPolicyProps.Builder additionalStatements(List<? extends PolicyStatement> additionalStatements) Sets the value ofUntrustedCodeBoundaryPolicyProps.getAdditionalStatements()
- Parameters:
additionalStatements
- Additional statements to add to the default set of statements.- Returns:
this
-
managedPolicyName
@Stability(Stable) public UntrustedCodeBoundaryPolicyProps.Builder managedPolicyName(String managedPolicyName) Sets the value ofUntrustedCodeBoundaryPolicyProps.getManagedPolicyName()
- Parameters:
managedPolicyName
- The name of the managed policy.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<UntrustedCodeBoundaryPolicyProps>
- Returns:
- a new instance of
UntrustedCodeBoundaryPolicyProps
- Throws:
NullPointerException
- if any required attribute was not provided
-