Class UntrustedCodeBoundaryPolicy.Builder
java.lang.Object
software.amazon.awscdk.services.codebuild.UntrustedCodeBoundaryPolicy.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<UntrustedCodeBoundaryPolicy>
- Enclosing class:
UntrustedCodeBoundaryPolicy
@Stability(Stable)
public static final class UntrustedCodeBoundaryPolicy.Builder
extends Object
implements software.amazon.jsii.Builder<UntrustedCodeBoundaryPolicy>
A fluent builder for
UntrustedCodeBoundaryPolicy
.-
Method Summary
Modifier and TypeMethodDescriptionadditionalStatements
(List<? extends PolicyStatement> additionalStatements) Additional statements to add to the default set of statements.build()
managedPolicyName
(String managedPolicyName) The name of the managed policy.
-
Method Details
-
create
@Stability(Stable) public static UntrustedCodeBoundaryPolicy.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
UntrustedCodeBoundaryPolicy.Builder
.
-
additionalStatements
@Stability(Stable) public UntrustedCodeBoundaryPolicy.Builder additionalStatements(List<? extends PolicyStatement> additionalStatements) Additional statements to add to the default set of statements.Default: - No additional statements
- Parameters:
additionalStatements
- Additional statements to add to the default set of statements. This parameter is required.- Returns:
this
-
managedPolicyName
@Stability(Stable) public UntrustedCodeBoundaryPolicy.Builder managedPolicyName(String managedPolicyName) The name of the managed policy.Default: - A name is automatically generated.
- Parameters:
managedPolicyName
- The name of the managed policy. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<UntrustedCodeBoundaryPolicy>
- Returns:
- a newly built instance of
UntrustedCodeBoundaryPolicy
.
-