public MixedInstancesPolicy withLaunchTemplate(LaunchTemplate launchTemplate) {
        setLaunchTemplate(launchTemplate);
        return this;
    }
<p>
One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill
On-Demand and Spot capacities.
</p>

@param launchTemplate
       One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to
       fulfill On-Demand and Spot capacities.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/MixedInstancesPolicy.java