public UpdateEventDestinationResult withEventDestination(EventDestination eventDestination) {
        setEventDestination(eventDestination);
        return this;
    }
<p>
An EventDestination object containing the details of where events will be logged.
</p>

@param eventDestination
       An EventDestination object containing the details of where events will be logged.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpointsmsvoicev2/src/main/java/com/amazonaws/services/pinpointsmsvoicev2/model/UpdateEventDestinationResult.java