public static final class CfnLaunchNotificationConstraintProps.Builder
extends java.lang.Object
CfnLaunchNotificationConstraintProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLaunchNotificationConstraintProps.Builder |
acceptLanguage(java.lang.String acceptLanguage)
Sets the value of
CfnLaunchNotificationConstraintProps.getAcceptLanguage() |
CfnLaunchNotificationConstraintProps |
build()
Builds the configured instance.
|
CfnLaunchNotificationConstraintProps.Builder |
description(java.lang.String description)
Sets the value of
CfnLaunchNotificationConstraintProps.getDescription() |
CfnLaunchNotificationConstraintProps.Builder |
notificationArns(java.util.List<java.lang.String> notificationArns)
Sets the value of
CfnLaunchNotificationConstraintProps.getNotificationArns() |
CfnLaunchNotificationConstraintProps.Builder |
portfolioId(java.lang.String portfolioId)
Sets the value of
CfnLaunchNotificationConstraintProps.getPortfolioId() |
CfnLaunchNotificationConstraintProps.Builder |
productId(java.lang.String productId)
Sets the value of
CfnLaunchNotificationConstraintProps.getProductId() |
public CfnLaunchNotificationConstraintProps.Builder notificationArns(java.util.List<java.lang.String> notificationArns)
CfnLaunchNotificationConstraintProps.getNotificationArns()
notificationArns
- The notification ARNs. This parameter is required.this
public CfnLaunchNotificationConstraintProps.Builder portfolioId(java.lang.String portfolioId)
CfnLaunchNotificationConstraintProps.getPortfolioId()
portfolioId
- The portfolio identifier. This parameter is required.this
public CfnLaunchNotificationConstraintProps.Builder productId(java.lang.String productId)
CfnLaunchNotificationConstraintProps.getProductId()
productId
- The product identifier. This parameter is required.this
public CfnLaunchNotificationConstraintProps.Builder acceptLanguage(java.lang.String acceptLanguage)
CfnLaunchNotificationConstraintProps.getAcceptLanguage()
acceptLanguage
- The language code.
en
- English (default)jp
- Japanesezh
- Chinesethis
public CfnLaunchNotificationConstraintProps.Builder description(java.lang.String description)
CfnLaunchNotificationConstraintProps.getDescription()
description
- The description of the constraint.this
public CfnLaunchNotificationConstraintProps build()
CfnLaunchNotificationConstraintProps
java.lang.NullPointerException
- if any required attribute was not provided