public CreateAutoScalingGroupRequest withMixedInstancesPolicy(MixedInstancesPolicy mixedInstancesPolicy) {
        setMixedInstancesPolicy(mixedInstancesPolicy);
        return this;
    }
<p>
The mixed instances policy. For more information, see <a
href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html">Auto
Scaling groups with multiple instance types and purchase options</a> in the <i>Amazon EC2 Auto Scaling User
Guide</i>.
</p>

@param mixedInstancesPolicy
       The mixed instances policy. For more information, see <a href=
       "https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html">Auto
       Scaling groups with multiple instance types and purchase options</a> in the <i>Amazon EC2 Auto Scaling
       User Guide</i>.
@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/CreateAutoScalingGroupRequest.java