public RunScheduledInstancesRequest withLaunchSpecification(ScheduledInstancesLaunchSpecification launchSpecification) {
        setLaunchSpecification(launchSpecification);
        return this;
    }
<p>
The launch specification. You must match the instance type, Availability Zone, network, and platform of the
schedule that you purchased.
</p>

@param launchSpecification
       The launch specification. You must match the instance type, Availability Zone, network, and platform of
       the schedule that you purchased.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/RunScheduledInstancesRequest.java