Class CfnLaunchTemplateConstraintMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.servicecatalog.CfnLaunchTemplateConstraintMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchTemplateConstraintMixinProps>
- Enclosing interface:
CfnLaunchTemplateConstraintMixinProps
@Stability(Stable)
public static final class CfnLaunchTemplateConstraintMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchTemplateConstraintMixinProps>
A builder for
CfnLaunchTemplateConstraintMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptLanguage(String acceptLanguage) Sets the value ofCfnLaunchTemplateConstraintMixinProps.getAcceptLanguage()build()Builds the configured instance.description(String description) Sets the value ofCfnLaunchTemplateConstraintMixinProps.getDescription()portfolioId(String portfolioId) Sets the value ofCfnLaunchTemplateConstraintMixinProps.getPortfolioId()Sets the value ofCfnLaunchTemplateConstraintMixinProps.getProductId()Sets the value ofCfnLaunchTemplateConstraintMixinProps.getRules()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceptLanguage
@Stability(Stable) public CfnLaunchTemplateConstraintMixinProps.Builder acceptLanguage(String acceptLanguage) Sets the value ofCfnLaunchTemplateConstraintMixinProps.getAcceptLanguage()- Parameters:
acceptLanguage- The language code.jp- Japanesezh- Chinese
- Returns:
this
-
description
@Stability(Stable) public CfnLaunchTemplateConstraintMixinProps.Builder description(String description) Sets the value ofCfnLaunchTemplateConstraintMixinProps.getDescription()- Parameters:
description- The description of the constraint.- Returns:
this
-
portfolioId
@Stability(Stable) public CfnLaunchTemplateConstraintMixinProps.Builder portfolioId(String portfolioId) Sets the value ofCfnLaunchTemplateConstraintMixinProps.getPortfolioId()- Parameters:
portfolioId- The portfolio identifier.- Returns:
this
-
productId
Sets the value ofCfnLaunchTemplateConstraintMixinProps.getProductId()- Parameters:
productId- The product identifier.- Returns:
this
-
rules
Sets the value ofCfnLaunchTemplateConstraintMixinProps.getRules()- Parameters:
rules- The constraint rules.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchTemplateConstraintMixinProps>- Returns:
- a new instance of
CfnLaunchTemplateConstraintMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-