public TerminateInstanceInAutoScalingGroupResult withActivity(Activity activity) {
        setActivity(activity);
        return this;
    }
<p>
A scaling activity.
</p>

@param activity
       A scaling activity.
@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/TerminateInstanceInAutoScalingGroupResult.java