public SpotOptionsRequest withSingleInstanceType(Boolean singleInstanceType) {
        setSingleInstanceType(singleInstanceType);
        return this;
    }
<p>
Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet.
</p>
<p>
Supported only for fleets of type <code>instant</code>.
</p>

@param singleInstanceType
       Indicates that the fleet uses a single instance type to launch all Spot Instances in the fleet.</p>
       <p>
       Supported only for fleets of type <code>instant</code>.
@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/SpotOptionsRequest.java