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