public ScalingActivity withStatusCode(String statusCode) {
        setStatusCode(statusCode);
        return this;
    }
<p>
Indicates the status of the scaling activity.
</p>

@param statusCode
       Indicates the status of the scaling activity.
@return Returns a reference to this object so that method calls can be chained together.
@see ScalingActivityStatusCode
aws-java-sdk-applicationautoscaling/src/main/java/com/amazonaws/services/applicationautoscaling/model/ScalingActivity.java