public EventDestination withName(String name) {
        setName(name);
        return this;
    }
A name that identifies the event destination configuration.

@param name
       A name that identifies the event destination configuration.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpointsmsvoice/src/main/java/com/amazonaws/services/pinpointsmsvoice/model/EventDestination.java