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