public RouteSummary withSourcePath(String sourcePath) {
        setSourcePath(sourcePath);
        return this;
    }
<p>
This is the path that Refactor Spaces uses to match traffic. Paths must start with <code>/</code> and are
relative to the base of the application. To use path parameters in the source path, add a variable in curly
braces. For example, the resource path {user} represents a path parameter called 'user'.
</p>

@param sourcePath
       This is the path that Refactor Spaces uses to match traffic. Paths must start with <code>/</code> and are
       relative to the base of the application. To use path parameters in the source path, add a variable in
       curly braces. For example, the resource path {user} represents a path parameter called 'user'.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-migrationhubrefactorspaces/src/main/java/com/amazonaws/services/migrationhubrefactorspaces/model/RouteSummary.java