/** * <p> * The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not * cause an instance group to grow above or below these limits. * </p> * * @param constraints * The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will * not cause an instance group to grow above or below these limits. * @return Returns a reference to this object so that method calls can be chained together. */ public AutoScalingPolicyDescription withConstraints(ScalingConstraints constraints) { setConstraints(constraints); return this; }
autoScalingPolicyDescription.setConstraints(ScalingConstraintsJsonUnmarshaller.getInstance().unmarshall(context));
/** * <p> * The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not * cause an instance group to grow above or below these limits. * </p> * * @param constraints * The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will * not cause an instance group to grow above or below these limits. * @return Returns a reference to this object so that method calls can be chained together. */ public AutoScalingPolicyDescription withConstraints(ScalingConstraints constraints) { setConstraints(constraints); return this; }
autoScalingPolicyDescription.setConstraints(ScalingConstraintsJsonUnmarshaller.getInstance().unmarshall(context));