public CodeRepository withSourceDirectory(String sourceDirectory) {
        setSourceDirectory(sourceDirectory);
        return this;
    }
<p>
The path of the directory that stores source code and configuration files. The build and start commands also
execute from here. The path is absolute from root and, if not specified, defaults to the repository root.
</p>

@param sourceDirectory
       The path of the directory that stores source code and configuration files. The build and start commands
       also execute from here. The path is absolute from root and, if not specified, defaults to the repository
       root.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-apprunner/src/main/java/com/amazonaws/services/apprunner/model/CodeRepository.java