public Service withDurationHistogram(java.util.Collection<HistogramEntry> durationHistogram) {
        setDurationHistogram(durationHistogram);
        return this;
    }
<p>
A histogram that maps the spread of service durations.
</p>

@param durationHistogram
       A histogram that maps the spread of service durations.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-xray/src/main/java/com/amazonaws/services/xray/model/Service.java