public GitSubmodulesConfig withFetchSubmodules(Boolean fetchSubmodules) {
        setFetchSubmodules(fetchSubmodules);
        return this;
    }
<p>
Set to true to fetch Git submodules for your CodeBuild build project.
</p>

@param fetchSubmodules
       Set to true to fetch Git submodules for your CodeBuild build project.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codebuild/src/main/java/com/amazonaws/services/codebuild/model/GitSubmodulesConfig.java