public void setDurationHistogram(java.util.Collection<HistogramEntry> durationHistogram) {
        if (durationHistogram == null) {
            this.durationHistogram = null;
            return;
        }

        this.durationHistogram = new java.util.ArrayList<HistogramEntry>(durationHistogram);
    }
<p>
A histogram that maps the spread of service durations.
</p>

@param durationHistogram
       A histogram that maps the spread of service durations.
aws-java-sdk-xray/src/main/java/com/amazonaws/services/xray/model/Service.java