public void setDestinationPortRanges(java.util.Collection<PortRange> destinationPortRanges) {
        if (destinationPortRanges == null) {
            this.destinationPortRanges = null;
            return;
        }

        this.destinationPortRanges = new com.amazonaws.internal.SdkInternalList<PortRange>(destinationPortRanges);
    }
<p>
The destination port ranges.
</p>

@param destinationPortRanges
       The destination port ranges.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/AnalysisPacketHeader.java