public static interface CreateLaunchTemplateRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateLaunchTemplateRequest.Builder,CreateLaunchTemplateRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateLaunchTemplateRequest.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.
CreateLaunchTemplateRequest.Builder launchTemplateName(String launchTemplateName)
A name for the launch template.
launchTemplateName - A name for the launch template.CreateLaunchTemplateRequest.Builder versionDescription(String versionDescription)
A description for the first version of the launch template.
versionDescription - A description for the first version of the launch template.CreateLaunchTemplateRequest.Builder launchTemplateData(RequestLaunchTemplateData launchTemplateData)
The information for the launch template.
launchTemplateData - The information for the launch template.default CreateLaunchTemplateRequest.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)CreateLaunchTemplateRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the launch template on creation. To tag the launch template, the resource type must be
launch-template.
To specify the tags for the resources that are created when an instance is launched, you must use the
TagSpecifications parameter in the launch
template data structure.
tagSpecifications - The tags to apply to the launch template on creation. To tag the launch template, the resource type
must be launch-template.
To specify the tags for the resources that are created when an instance is launched, you must use the
TagSpecifications parameter in the launch template data structure.
CreateLaunchTemplateRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the launch template on creation. To tag the launch template, the resource type must be
launch-template.
To specify the tags for the resources that are created when an instance is launched, you must use the
TagSpecifications parameter in the launch
template data structure.
tagSpecifications - The tags to apply to the launch template on creation. To tag the launch template, the resource type
must be launch-template.
To specify the tags for the resources that are created when an instance is launched, you must use the
TagSpecifications parameter in the launch template data structure.
CreateLaunchTemplateRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the launch template on creation. To tag the launch template, the resource type must be
launch-template.
To specify the tags for the resources that are created when an instance is launched, you must use the
TagSpecifications parameter in the launch
template data structure.
TagSpecification.Builder avoiding the need to create one
manually via TagSpecification.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tagSpecifications(List.
tagSpecifications - a consumer that will call methods on
TagSpecification.Builder#tagSpecifications(java.util.Collection) CreateLaunchTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateLaunchTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.