public static interface CreateLaunchTemplateVersionRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateLaunchTemplateVersionRequest.Builder,CreateLaunchTemplateVersionRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateLaunchTemplateVersionRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
Constraint: Maximum 128 ASCII characters.
clientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more
information, see Ensuring
idempotency.
Constraint: Maximum 128 ASCII characters.
CreateLaunchTemplateVersionRequest.Builder launchTemplateId(String launchTemplateId)
The ID of the launch template.
You must specify either the LaunchTemplateId or the LaunchTemplateName, but not
both.
launchTemplateId - The ID of the launch template.
You must specify either the LaunchTemplateId or the LaunchTemplateName, but
not both.
CreateLaunchTemplateVersionRequest.Builder launchTemplateName(String launchTemplateName)
The name of the launch template.
You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.
launchTemplateName - The name of the launch template.
You must specify the LaunchTemplateName or the LaunchTemplateId, but not
both.
CreateLaunchTemplateVersionRequest.Builder sourceVersion(String sourceVersion)
The version number of the launch template version on which to base the new version. The new version inherits
the same launch parameters as the source version, except for parameters that you specify in
LaunchTemplateData. Snapshots applied to the block device mapping are ignored when creating a
new version unless they are explicitly included.
sourceVersion - The version number of the launch template version on which to base the new version. The new version
inherits the same launch parameters as the source version, except for parameters that you specify in
LaunchTemplateData. Snapshots applied to the block device mapping are ignored when
creating a new version unless they are explicitly included.CreateLaunchTemplateVersionRequest.Builder versionDescription(String versionDescription)
A description for the version of the launch template.
versionDescription - A description for the version of the launch template.CreateLaunchTemplateVersionRequest.Builder launchTemplateData(RequestLaunchTemplateData launchTemplateData)
The information for the launch template.
launchTemplateData - The information for the launch template.default CreateLaunchTemplateVersionRequest.Builder launchTemplateData(Consumer<RequestLaunchTemplateData.Builder> launchTemplateData)
The information for the launch template.
This is a convenience method that creates an instance of theRequestLaunchTemplateData.Builder
avoiding the need to create one manually via RequestLaunchTemplateData.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to launchTemplateData(RequestLaunchTemplateData).
launchTemplateData - a consumer that will call methods on RequestLaunchTemplateData.BuilderlaunchTemplateData(RequestLaunchTemplateData)CreateLaunchTemplateVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateLaunchTemplateVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.