public static interface ModifyLaunchTemplateRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyLaunchTemplateRequest.Builder,ModifyLaunchTemplateRequest>
Modifier and Type | Method and Description |
---|---|
ModifyLaunchTemplateRequest.Builder |
clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
|
ModifyLaunchTemplateRequest.Builder |
defaultVersion(String defaultVersion)
The version number of the launch template to set as the default version.
|
ModifyLaunchTemplateRequest.Builder |
launchTemplateId(String launchTemplateId)
The ID of the launch template.
|
ModifyLaunchTemplateRequest.Builder |
launchTemplateName(String launchTemplateName)
The name of the launch template.
|
ModifyLaunchTemplateRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ModifyLaunchTemplateRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
ModifyLaunchTemplateRequest.Builder clientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
clientToken
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more
information, see Ensuring
Idempotency.ModifyLaunchTemplateRequest.Builder launchTemplateId(String launchTemplateId)
The ID of the launch template. You must specify either the launch template ID or launch template name in the request.
launchTemplateId
- The ID of the launch template. You must specify either the launch template ID or launch template name
in the request.ModifyLaunchTemplateRequest.Builder launchTemplateName(String launchTemplateName)
The name of the launch template. You must specify either the launch template ID or launch template name in the request.
launchTemplateName
- The name of the launch template. You must specify either the launch template ID or launch template
name in the request.ModifyLaunchTemplateRequest.Builder defaultVersion(String defaultVersion)
The version number of the launch template to set as the default version.
defaultVersion
- The version number of the launch template to set as the default version.ModifyLaunchTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ModifyLaunchTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.