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