public EventSubscription withName(String name) {
        setName(name);
        return this;
    }
<p>
Unique name to identify an event subscription.
</p>

@param name
       Unique name to identify an event subscription.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resiliencehub/src/main/java/com/amazonaws/services/resiliencehub/model/EventSubscription.java