public ProjectSource withBuildStatusConfig(BuildStatusConfig buildStatusConfig) {
        setBuildStatusConfig(buildStatusConfig);
        return this;
    }
<p>
Contains information that defines how the build project reports the build status to the source provider. This
option is only used when the source provider is <code>GITHUB</code>, <code>GITHUB_ENTERPRISE</code>, or
<code>BITBUCKET</code>.
</p>

@param buildStatusConfig
       Contains information that defines how the build project reports the build status to the source provider.
       This option is only used when the source provider is <code>GITHUB</code>, <code>GITHUB_ENTERPRISE</code>,
       or <code>BITBUCKET</code>.
@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/ProjectSource.java