public GetScalingPlanResourceForecastDataRequest withResourceId(String resourceId) {
        setResourceId(resourceId);
        return this;
    }
<p>
The ID of the resource. This string consists of a prefix (<code>autoScalingGroup</code>) followed by the name of
a specified Auto Scaling group (<code>my-asg</code>). Example: <code>autoScalingGroup/my-asg</code>.
</p>

@param resourceId
       The ID of the resource. This string consists of a prefix (<code>autoScalingGroup</code>) followed by the
       name of a specified Auto Scaling group (<code>my-asg</code>). Example:
       <code>autoScalingGroup/my-asg</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-autoscalingplans/src/main/java/com/amazonaws/services/autoscalingplans/model/GetScalingPlanResourceForecastDataRequest.java