public LaunchTemplateSpecification withName(String name) {
        setName(name);
        return this;
    }
<p>
The name of the launch template.
</p>
<p>
You must specify either the launch template name or the launch template ID in the request, but not both.
</p>

@param name
       The name of the launch template.</p>
       <p>
       You must specify either the launch template name or the launch template ID in the request, but not both.
@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/LaunchTemplateSpecification.java