public String getDesiredCapacityType() {
        return this.desiredCapacityType;
    }
<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. For more information, see <a
href=
"https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html"
>Create a mixed instances group using attribute-based instance type selection</a> in the <i>Amazon EC2 Auto
Scaling User Guide</i>.
</p>
<p>
By default, Amazon EC2 Auto Scaling specifies <code>units</code>, which translates into number of instances.
</p>
<p>
Valid values: <code>units</code> | <code>vcpu</code> | <code>memory-mib</code>
</p>

@return 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. For more information,
        see <a href=
        "https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html"
        >Create a mixed instances group using attribute-based instance type selection</a> in the <i>Amazon EC2
        Auto Scaling User Guide</i>.</p>
        <p>
        By default, Amazon EC2 Auto Scaling specifies <code>units</code>, which translates into number of
        instances.
        </p>
        <p>
        Valid values: <code>units</code> | <code>vcpu</code> | <code>memory-mib</code>
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/CreateAutoScalingGroupRequest.java