Class CfnResourceUpdateConstraintMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.servicecatalog.CfnResourceUpdateConstraintMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResourceUpdateConstraintMixinProps>
- Enclosing interface:
CfnResourceUpdateConstraintMixinProps
@Stability(Stable)
public static final class CfnResourceUpdateConstraintMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResourceUpdateConstraintMixinProps>
A builder for
CfnResourceUpdateConstraintMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage(String acceptLanguage) Sets the value ofCfnResourceUpdateConstraintMixinProps.getAcceptLanguage()build()Builds the configured instance.description(String description) Sets the value ofCfnResourceUpdateConstraintMixinProps.getDescription()portfolioId(String portfolioId) Sets the value ofCfnResourceUpdateConstraintMixinProps.getPortfolioId()Sets the value ofCfnResourceUpdateConstraintMixinProps.getProductId()tagUpdateOnProvisionedProduct(String tagUpdateOnProvisionedProduct) Sets the value ofCfnResourceUpdateConstraintMixinProps.getTagUpdateOnProvisionedProduct()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceptLanguage
@Stability(Stable) public CfnResourceUpdateConstraintMixinProps.Builder acceptLanguage(String acceptLanguage) Sets the value ofCfnResourceUpdateConstraintMixinProps.getAcceptLanguage()- Parameters:
acceptLanguage- The language code.jp- Japanesezh- Chinese
- Returns:
this
-
description
@Stability(Stable) public CfnResourceUpdateConstraintMixinProps.Builder description(String description) Sets the value ofCfnResourceUpdateConstraintMixinProps.getDescription()- Parameters:
description- The description of the constraint.- Returns:
this
-
portfolioId
@Stability(Stable) public CfnResourceUpdateConstraintMixinProps.Builder portfolioId(String portfolioId) Sets the value ofCfnResourceUpdateConstraintMixinProps.getPortfolioId()- Parameters:
portfolioId- The portfolio identifier.- Returns:
this
-
productId
Sets the value ofCfnResourceUpdateConstraintMixinProps.getProductId()- Parameters:
productId- The product identifier.- Returns:
this
-
tagUpdateOnProvisionedProduct
@Stability(Stable) public CfnResourceUpdateConstraintMixinProps.Builder tagUpdateOnProvisionedProduct(String tagUpdateOnProvisionedProduct) Sets the value ofCfnResourceUpdateConstraintMixinProps.getTagUpdateOnProvisionedProduct()- Parameters:
tagUpdateOnProvisionedProduct- If set toALLOWED, lets users change tags in a CloudFormationProvisionedProduct resource. If set toNOT_ALLOWED, prevents users from changing tags in a CloudFormationProvisionedProduct resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResourceUpdateConstraintMixinProps>- Returns:
- a new instance of
CfnResourceUpdateConstraintMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-