public Event withService(String service) {
        setService(service);
        return this;
    }
<p>
The Amazon Web Service that is affected by the event. For example, <code>EC2</code>, <code>RDS</code>.
</p>

@param service
       The Amazon Web Service that is affected by the event. For example, <code>EC2</code>, <code>RDS</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-health/src/main/java/com/amazonaws/services/health/model/Event.java