public UpdateEnrollmentStatusRequest withStatus(EnrollmentStatus status) {
        this.status = status.toString();
        return this;
    }
<p>
Sets the account status.
</p>

@param status
       Sets the account status.
@return Returns a reference to this object so that method calls can be chained together.
@see EnrollmentStatus
aws-java-sdk-costoptimizationhub/src/main/java/com/amazonaws/services/costoptimizationhub/model/UpdateEnrollmentStatusRequest.java