public SourceCodeType withS3BucketRepository(S3BucketRepository s3BucketRepository) {
        setS3BucketRepository(s3BucketRepository);
        return this;
    }
<p>
Information about an associated repository in an S3 bucket that includes its name and an
<code>S3RepositoryDetails</code> object. The <code>S3RepositoryDetails</code> object includes the name of an S3
bucket, an S3 key for a source code .zip file, and an S3 key for a build artifacts .zip file.
<code>S3BucketRepository</code> is required in <a
href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType">SourceCodeType</a> for
<code>S3BucketRepository</code> based code reviews.
</p>

@param s3BucketRepository
       Information about an associated repository in an S3 bucket that includes its name and an
       <code>S3RepositoryDetails</code> object. The <code>S3RepositoryDetails</code> object includes the name of
       an S3 bucket, an S3 key for a source code .zip file, and an S3 key for a build artifacts .zip file.
       <code>S3BucketRepository</code> is required in <a
       href="https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType">SourceCodeType</a> for
       <code>S3BucketRepository</code> based code reviews.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codegurureviewer/src/main/java/com/amazonaws/services/codegurureviewer/model/SourceCodeType.java