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 TypeMethodDescriptionSets the value ofPolicyValidationStack.getAccountId()build()Builds the configured instance.Sets the value ofPolicyValidationStack.getRegion()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
-
accountId
Sets the value ofPolicyValidationStack.getAccountId()- Parameters:
accountId- The account ID for this stack, if known.- Returns:
this
-
region
Sets the value ofPolicyValidationStack.getRegion()- Parameters:
region- The region for this stack, if known.- 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
-