Class CfnStackSetConstraintMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.servicecatalog.CfnStackSetConstraintMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStackSetConstraintMixinProps>
- Enclosing interface:
CfnStackSetConstraintMixinProps
@Stability(Stable)
public static final class CfnStackSetConstraintMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStackSetConstraintMixinProps>
A builder for
CfnStackSetConstraintMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage(String acceptLanguage) Sets the value ofCfnStackSetConstraintMixinProps.getAcceptLanguage()accountList(List<String> accountList) Sets the value ofCfnStackSetConstraintMixinProps.getAccountList()Sets the value ofCfnStackSetConstraintMixinProps.getAdminRole()build()Builds the configured instance.description(String description) Sets the value ofCfnStackSetConstraintMixinProps.getDescription()executionRole(String executionRole) Sets the value ofCfnStackSetConstraintMixinProps.getExecutionRole()portfolioId(String portfolioId) Sets the value ofCfnStackSetConstraintMixinProps.getPortfolioId()Sets the value ofCfnStackSetConstraintMixinProps.getProductId()regionList(List<String> regionList) Sets the value ofCfnStackSetConstraintMixinProps.getRegionList()stackInstanceControl(String stackInstanceControl) Sets the value ofCfnStackSetConstraintMixinProps.getStackInstanceControl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceptLanguage
@Stability(Stable) public CfnStackSetConstraintMixinProps.Builder acceptLanguage(String acceptLanguage) Sets the value ofCfnStackSetConstraintMixinProps.getAcceptLanguage()- Parameters:
acceptLanguage- The language code.jp- Japanesezh- Chinese
- Returns:
this
-
accountList
@Stability(Stable) public CfnStackSetConstraintMixinProps.Builder accountList(List<String> accountList) Sets the value ofCfnStackSetConstraintMixinProps.getAccountList()- Parameters:
accountList- One or more AWS accounts that will have access to the provisioned product.- Returns:
this
-
adminRole
Sets the value ofCfnStackSetConstraintMixinProps.getAdminRole()- Parameters:
adminRole- AdminRole ARN.- Returns:
this
-
description
Sets the value ofCfnStackSetConstraintMixinProps.getDescription()- Parameters:
description- The description of the constraint.- Returns:
this
-
executionRole
@Stability(Stable) public CfnStackSetConstraintMixinProps.Builder executionRole(String executionRole) Sets the value ofCfnStackSetConstraintMixinProps.getExecutionRole()- Parameters:
executionRole- ExecutionRole name.- Returns:
this
-
portfolioId
Sets the value ofCfnStackSetConstraintMixinProps.getPortfolioId()- Parameters:
portfolioId- The portfolio identifier.- Returns:
this
-
productId
Sets the value ofCfnStackSetConstraintMixinProps.getProductId()- Parameters:
productId- The product identifier.- Returns:
this
-
regionList
@Stability(Stable) public CfnStackSetConstraintMixinProps.Builder regionList(List<String> regionList) Sets the value ofCfnStackSetConstraintMixinProps.getRegionList()- Parameters:
regionList- One or more AWS Regions where the provisioned product will be available. Applicable only to aCFN_STACKSETprovisioned product type.The specified Regions should be within the list of Regions from the
STACKSETconstraint. To get the list of Regions in theSTACKSETconstraint, use theDescribeProvisioningParametersoperation.If no values are specified, the default value is all Regions from the
STACKSETconstraint.- Returns:
this
-
stackInstanceControl
@Stability(Stable) public CfnStackSetConstraintMixinProps.Builder stackInstanceControl(String stackInstanceControl) Sets the value ofCfnStackSetConstraintMixinProps.getStackInstanceControl()- Parameters:
stackInstanceControl- Permission to create, update, and delete stack instances. Choose from ALLOWED and NOT_ALLOWED.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStackSetConstraintMixinProps>- Returns:
- a new instance of
CfnStackSetConstraintMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-