public Nodegroup withLaunchTemplate(LaunchTemplateSpecification launchTemplate) {
        setLaunchTemplate(launchTemplate);
        return this;
    }
<p>
If a launch template was used to create the node group, then this is the launch template that was used.
</p>

@param launchTemplate
       If a launch template was used to create the node group, then this is the launch template that was used.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/Nodegroup.java