public CreatePartnerEventSourceRequest withName(String name) {
        setName(name);
        return this;
    }
<p>
The name of the partner event source. This name must be unique and must be in the format
<code> <i>partner_name</i>/<i>event_namespace</i>/<i>event_name</i> </code>. The Amazon Web Services account that
wants to use this partner event source must create a partner event bus with a name that matches the name of the
partner event source.
</p>

@param name
       The name of the partner event source. This name must be unique and must be in the format
       <code> <i>partner_name</i>/<i>event_namespace</i>/<i>event_name</i> </code>. The Amazon Web Services
       account that wants to use this partner event source must create a partner event bus with a name that
       matches the name of the partner event source.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/CreatePartnerEventSourceRequest.java