public static interface CreateLaunchTemplateRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateLaunchTemplateRequest.Builder,CreateLaunchTemplateRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateLaunchTemplateRequest.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 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.Builder
launchTemplateData(RequestLaunchTemplateData)
CreateLaunchTemplateRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the launch template during creation.
tagSpecifications
- The tags to apply to the launch template during creation.CreateLaunchTemplateRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the launch template during creation.
tagSpecifications
- The tags to apply to the launch template during creation.CreateLaunchTemplateRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the launch template during creation.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #tagSpecifications(List)
.tagSpecifications
- a consumer that will call methods on List.Builder
#tagSpecifications(List)
CreateLaunchTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateLaunchTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.