@Stability(value=Stable) public static final class CfnSpotFleet.FleetLaunchTemplateSpecificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnSpotFleet.FleetLaunchTemplateSpecificationProperty>
CfnSpotFleet.FleetLaunchTemplateSpecificationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnSpotFleet.FleetLaunchTemplateSpecificationProperty |
build()
Builds the configured instance.
|
CfnSpotFleet.FleetLaunchTemplateSpecificationProperty.Builder |
launchTemplateId(String launchTemplateId)
|
CfnSpotFleet.FleetLaunchTemplateSpecificationProperty.Builder |
launchTemplateName(String launchTemplateName)
|
CfnSpotFleet.FleetLaunchTemplateSpecificationProperty.Builder |
version(String version)
Sets the value of
CfnSpotFleet.FleetLaunchTemplateSpecificationProperty.getVersion() |
@Stability(value=Stable) public CfnSpotFleet.FleetLaunchTemplateSpecificationProperty.Builder version(String version)
CfnSpotFleet.FleetLaunchTemplateSpecificationProperty.getVersion()version - The version number of the launch template. You must specify a version number. This parameter is required.
Minimum length of 1. Maximum length of 255. Versions must fit the following pattern: [\ u0020-\ uD7FF\ uE000-\ uFFFD\ uD800\ uDC00-\ uDBFF\ uDFFF\r\n\t]*this@Stability(value=Stable) public CfnSpotFleet.FleetLaunchTemplateSpecificationProperty.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 CfnSpotFleet.FleetLaunchTemplateSpecificationProperty.Builder launchTemplateName(String launchTemplateName)
launchTemplateName - The name of the launch template. You must specify either a template name or a template ID.
Minimum length of 3. Maximum length of 128. Names must match the following pattern: [a-zA-Z0-9\(\)\.-/_]+this@Stability(value=Stable) public CfnSpotFleet.FleetLaunchTemplateSpecificationProperty build()
build in interface software.amazon.jsii.Builder<CfnSpotFleet.FleetLaunchTemplateSpecificationProperty>CfnSpotFleet.FleetLaunchTemplateSpecificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.