public void setReturnPathComponents(java.util.Collection<PathComponent> returnPathComponents) {
        if (returnPathComponents == null) {
            this.returnPathComponents = null;
            return;
        }

        this.returnPathComponents = new com.amazonaws.internal.SdkInternalList<PathComponent>(returnPathComponents);
    }
<p>
The components in the path from destination to source.
</p>

@param returnPathComponents
       The components in the path from destination to source.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/NetworkInsightsAnalysis.java