Interface ModifyLaunchTemplateResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<ModifyLaunchTemplateResponse.Builder,,ModifyLaunchTemplateResponse> Ec2Response.Builder,SdkBuilder<ModifyLaunchTemplateResponse.Builder,,ModifyLaunchTemplateResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 ModifyLaunchTemplateResponse
public static interface ModifyLaunchTemplateResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ModifyLaunchTemplateResponse.Builder,ModifyLaunchTemplateResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptionlaunchTemplate(Consumer<LaunchTemplate.Builder> launchTemplate) Information about the launch template.launchTemplate(LaunchTemplate launchTemplate) Information about the launch template.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
launchTemplate
Information about the launch template.
- Parameters:
 launchTemplate- Information about the launch template.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
launchTemplate
default ModifyLaunchTemplateResponse.Builder launchTemplate(Consumer<LaunchTemplate.Builder> launchTemplate) Information about the launch template.
This is a convenience method that creates an instance of theLaunchTemplate.Builderavoiding the need to create one manually viaLaunchTemplate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolaunchTemplate(LaunchTemplate).- Parameters:
 launchTemplate- a consumer that will call methods onLaunchTemplate.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -