public AutoScalingGroup withDesiredCapacityType(String desiredCapacityType) {
        setDesiredCapacityType(desiredCapacityType);
        return this;
    }
<p>
The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports
<code>DesiredCapacityType</code> for attribute-based instance type selection only.
</p>

@param desiredCapacityType
       The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports
       <code>DesiredCapacityType</code> for attribute-based instance type selection only.
@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/AutoScalingGroup.java