public static interface ModifyLaunchTemplateResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ModifyLaunchTemplateResponse.Builder,ModifyLaunchTemplateResponse>
Modifier and Type | Method and Description |
---|---|
default ModifyLaunchTemplateResponse.Builder |
launchTemplate(Consumer<LaunchTemplate.Builder> launchTemplate)
Information about the launch template.
|
ModifyLaunchTemplateResponse.Builder |
launchTemplate(LaunchTemplate launchTemplate)
Information about the launch template.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ModifyLaunchTemplateResponse.Builder launchTemplate(LaunchTemplate launchTemplate)
Information about the launch template.
launchTemplate
- Information about the launch template.default ModifyLaunchTemplateResponse.Builder launchTemplate(Consumer<LaunchTemplate.Builder> launchTemplate)
Information about the launch template.
This is a convenience method that creates an instance of theLaunchTemplate.Builder
avoiding the need
to create one manually via LaunchTemplate.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to launchTemplate(LaunchTemplate)
.
launchTemplate
- a consumer that will call methods on LaunchTemplate.Builder
launchTemplate(LaunchTemplate)
Copyright © 2023. All rights reserved.