Package software.amazon.awscdk
Class PolicyValidationStack.Builder
java.lang.Object
software.amazon.awscdk.PolicyValidationStack.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PolicyValidationStack>
- Enclosing interface:
PolicyValidationStack
@Stability(Stable)
public static final class PolicyValidationStack.Builder
extends Object
implements software.amazon.jsii.Builder<PolicyValidationStack>
A builder for
PolicyValidationStack-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.stackConstructPath(String stackConstructPath) Sets the value ofPolicyValidationStack.getStackConstructPath()templatePath(String templatePath) Sets the value ofPolicyValidationStack.getTemplatePath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stackConstructPath
@Stability(Stable) public PolicyValidationStack.Builder stackConstructPath(String stackConstructPath) Sets the value ofPolicyValidationStack.getStackConstructPath()- Parameters:
stackConstructPath- The Stack's construct path. This parameter is required.- Returns:
this
-
templatePath
Sets the value ofPolicyValidationStack.getTemplatePath()- Parameters:
templatePath- The path to the template file on disk. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PolicyValidationStack>- Returns:
- a new instance of
PolicyValidationStack - Throws:
NullPointerException- if any required attribute was not provided
-