@Stability(value=Stable) public static final class CfnNodegroup.LaunchTemplateSpecificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnNodegroup.LaunchTemplateSpecificationProperty>
CfnNodegroup.LaunchTemplateSpecificationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnNodegroup.LaunchTemplateSpecificationProperty |
build()
Builds the configured instance.
|
CfnNodegroup.LaunchTemplateSpecificationProperty.Builder |
id(String id)
Sets the value of
CfnNodegroup.LaunchTemplateSpecificationProperty.getId() |
CfnNodegroup.LaunchTemplateSpecificationProperty.Builder |
name(String name)
Sets the value of
CfnNodegroup.LaunchTemplateSpecificationProperty.getName() |
CfnNodegroup.LaunchTemplateSpecificationProperty.Builder |
version(String version)
Sets the value of
CfnNodegroup.LaunchTemplateSpecificationProperty.getVersion() |
@Stability(value=Stable) public CfnNodegroup.LaunchTemplateSpecificationProperty.Builder id(String id)
CfnNodegroup.LaunchTemplateSpecificationProperty.getId()id - The ID of the launch template.
You must specify either the launch template ID or the launch template name in the request, but not both.this@Stability(value=Stable) public CfnNodegroup.LaunchTemplateSpecificationProperty.Builder name(String name)
CfnNodegroup.LaunchTemplateSpecificationProperty.getName()name - The name of the launch template.
You must specify either the launch template name or the launch template ID in the request, but not both.this@Stability(value=Stable) public CfnNodegroup.LaunchTemplateSpecificationProperty.Builder version(String version)
CfnNodegroup.LaunchTemplateSpecificationProperty.getVersion()version - The version number of the launch template to use.
If no version is specified, then the template's default version is used.this@Stability(value=Stable) public CfnNodegroup.LaunchTemplateSpecificationProperty build()
build in interface software.amazon.jsii.Builder<CfnNodegroup.LaunchTemplateSpecificationProperty>CfnNodegroup.LaunchTemplateSpecificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.