@Stability(value=Stable) public static final class CfnLaunchTemplateConstraintProps.Builder extends Object implements software.amazon.jsii.Builder<CfnLaunchTemplateConstraintProps>
CfnLaunchTemplateConstraintProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLaunchTemplateConstraintProps.Builder |
acceptLanguage(String acceptLanguage)
Sets the value of
CfnLaunchTemplateConstraintProps.getAcceptLanguage() |
CfnLaunchTemplateConstraintProps |
build()
Builds the configured instance.
|
CfnLaunchTemplateConstraintProps.Builder |
description(String description)
Sets the value of
CfnLaunchTemplateConstraintProps.getDescription() |
CfnLaunchTemplateConstraintProps.Builder |
portfolioId(String portfolioId)
Sets the value of
CfnLaunchTemplateConstraintProps.getPortfolioId() |
CfnLaunchTemplateConstraintProps.Builder |
productId(String productId)
Sets the value of
CfnLaunchTemplateConstraintProps.getProductId() |
CfnLaunchTemplateConstraintProps.Builder |
rules(String rules)
Sets the value of
CfnLaunchTemplateConstraintProps.getRules() |
@Stability(value=Stable) public CfnLaunchTemplateConstraintProps.Builder portfolioId(String portfolioId)
CfnLaunchTemplateConstraintProps.getPortfolioId()
portfolioId
- The portfolio identifier. This parameter is required.this
@Stability(value=Stable) public CfnLaunchTemplateConstraintProps.Builder productId(String productId)
CfnLaunchTemplateConstraintProps.getProductId()
productId
- The product identifier. This parameter is required.this
@Stability(value=Stable) public CfnLaunchTemplateConstraintProps.Builder rules(String rules)
CfnLaunchTemplateConstraintProps.getRules()
rules
- The constraint rules. This parameter is required.this
@Stability(value=Stable) public CfnLaunchTemplateConstraintProps.Builder acceptLanguage(String acceptLanguage)
CfnLaunchTemplateConstraintProps.getAcceptLanguage()
acceptLanguage
- The language code.
jp
- Japanesezh
- Chinesethis
@Stability(value=Stable) public CfnLaunchTemplateConstraintProps.Builder description(String description)
CfnLaunchTemplateConstraintProps.getDescription()
description
- The description of the constraint.this
@Stability(value=Stable) public CfnLaunchTemplateConstraintProps build()
build
in interface software.amazon.jsii.Builder<CfnLaunchTemplateConstraintProps>
CfnLaunchTemplateConstraintProps
NullPointerException
- if any required attribute was not providedCopyright © 2023. All rights reserved.