public ScalingActivity withNotScaledReasons(NotScaledReason... notScaledReasons) {
        if (this.notScaledReasons == null) {
            setNotScaledReasons(new java.util.ArrayList<NotScaledReason>(notScaledReasons.length));
        }
        for (NotScaledReason ele : notScaledReasons) {
            this.notScaledReasons.add(ele);
        }
        return this;
    }
<p>
Machine-readable data that describes the reason for a not scaled activity. Only available when <a
href="https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalingActivities.html"
>DescribeScalingActivities</a> includes not scaled activities.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setNotScaledReasons(java.util.Collection)} or {@link #withNotScaledReasons(java.util.Collection)} if you
want to override the existing values.
</p>

@param notScaledReasons
       Machine-readable data that describes the reason for a not scaled activity. Only available when <a href=
       "https://docs.aws.amazon.com/autoscaling/application/APIReference/API_DescribeScalingActivities.html"
       >DescribeScalingActivities</a> includes not scaled activities.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-applicationautoscaling/src/main/java/com/amazonaws/services/applicationautoscaling/model/ScalingActivity.java