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