public RouteAnalysisPath withPath(java.util.Collection<PathComponent> path) {
        setPath(path);
        return this;
    }
<p>
The route analysis path.
</p>

@param path
       The route analysis path.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/RouteAnalysisPath.java