@Stability(value=Stable) public static final class CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty |
build()
Builds the configured instance.
|
CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty.Builder |
launchTemplateId(String launchTemplateId)
|
CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty.Builder |
launchTemplateName(String launchTemplateName)
|
CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty.Builder |
version(String version)
Sets the value of
CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty.getVersion() |
@Stability(value=Stable) public CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty.Builder launchTemplateId(String launchTemplateId)
launchTemplateId - The ID of the launch template.
If you specify the template ID, you can't specify the template name.this@Stability(value=Stable) public CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty.Builder launchTemplateName(String launchTemplateName)
CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty.getLaunchTemplateName()launchTemplateName - The name of the launch template.
If you specify the template name, you can't specify the template ID.this@Stability(value=Stable) public CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty.Builder version(String version)
CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty.getVersion()version - The launch template version number, `$Latest` , or `$Default` . You must specify a value, otherwise the request fails.
If the value is $Latest , Amazon EC2 uses the latest version of the launch template.
If the value is $Default , Amazon EC2 uses the default version of the launch template.
this@Stability(value=Stable) public CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty build()
build in interface software.amazon.jsii.Builder<CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestProperty>CfnEC2Fleet.FleetLaunchTemplateSpecificationRequestPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.