public Instance withAutoScalingType(AutoScalingType autoScalingType) {
        this.autoScalingType = autoScalingType.toString();
        return this;
    }
<p>
For load-based or time-based instances, the type.
</p>

@param autoScalingType
       For load-based or time-based instances, the type.
@return Returns a reference to this object so that method calls can be chained together.
@see AutoScalingType
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/Instance.java