Interface LaunchTemplateConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LaunchTemplateConfiguration.Builder,,LaunchTemplateConfiguration> SdkBuilder<LaunchTemplateConfiguration.Builder,,LaunchTemplateConfiguration> SdkPojo
- Enclosing class:
LaunchTemplateConfiguration
@Mutable
@NotThreadSafe
public static interface LaunchTemplateConfiguration.Builder
extends SdkPojo, CopyableBuilder<LaunchTemplateConfiguration.Builder,LaunchTemplateConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe account ID that this configuration applies to.launchTemplateId(String launchTemplateId) Identifies the Amazon EC2 launch template to use.setDefaultVersion(Boolean setDefaultVersion) Specifies whether to make the new launch template version that Image Builder creates the default version of the launch template.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
launchTemplateId
Identifies the Amazon EC2 launch template to use.
- Parameters:
launchTemplateId- Identifies the Amazon EC2 launch template to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The account ID that this configuration applies to.
- Parameters:
accountId- The account ID that this configuration applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDefaultVersion
Specifies whether to make the new launch template version that Image Builder creates the default version of the launch template. If you don't set a value, Image Builder treats it as
true.- Parameters:
setDefaultVersion- Specifies whether to make the new launch template version that Image Builder creates the default version of the launch template. If you don't set a value, Image Builder treats it astrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-