public static interface SourceCodeType.Builder extends SdkPojo, CopyableBuilder<SourceCodeType.Builder,SourceCodeType>
| Modifier and Type | Method and Description |
|---|---|
SourceCodeType.Builder |
branchDiff(BranchDiffSourceCodeType branchDiff)
A type of SourceCodeType that
specifies a source branch name and a destination branch name in an associated repository.
|
default SourceCodeType.Builder |
branchDiff(Consumer<BranchDiffSourceCodeType.Builder> branchDiff)
A type of SourceCodeType that
specifies a source branch name and a destination branch name in an associated repository.
|
SourceCodeType.Builder |
commitDiff(CommitDiffSourceCodeType commitDiff)
A SourceCodeType
that specifies a commit diff created by a pull request on an associated repository.
|
default SourceCodeType.Builder |
commitDiff(Consumer<CommitDiffSourceCodeType.Builder> commitDiff)
A SourceCodeType
that specifies a commit diff created by a pull request on an associated repository.
|
default SourceCodeType.Builder |
repositoryHead(Consumer<RepositoryHeadSourceCodeType.Builder> repositoryHead)
Sets the value of the RepositoryHead property for this object.
|
SourceCodeType.Builder |
repositoryHead(RepositoryHeadSourceCodeType repositoryHead)
Sets the value of the RepositoryHead property for this object.
|
default SourceCodeType.Builder |
requestMetadata(Consumer<RequestMetadata.Builder> requestMetadata)
Metadata that is associated with a code review.
|
SourceCodeType.Builder |
requestMetadata(RequestMetadata requestMetadata)
Metadata that is associated with a code review.
|
default SourceCodeType.Builder |
s3BucketRepository(Consumer<S3BucketRepository.Builder> s3BucketRepository)
Information about an associated repository in an S3 bucket that includes its name and an
S3RepositoryDetails object. |
SourceCodeType.Builder |
s3BucketRepository(S3BucketRepository s3BucketRepository)
Information about an associated repository in an S3 bucket that includes its name and an
S3RepositoryDetails object. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSourceCodeType.Builder commitDiff(CommitDiffSourceCodeType commitDiff)
A SourceCodeType that specifies a commit diff created by a pull request on an associated repository.
commitDiff - A SourceCodeType
that specifies a commit diff created by a pull request on an associated repository.default SourceCodeType.Builder commitDiff(Consumer<CommitDiffSourceCodeType.Builder> commitDiff)
A SourceCodeType that specifies a commit diff created by a pull request on an associated repository.
This is a convenience method that creates an instance of theCommitDiffSourceCodeType.Builder
avoiding the need to create one manually via CommitDiffSourceCodeType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to commitDiff(CommitDiffSourceCodeType).
commitDiff - a consumer that will call methods on CommitDiffSourceCodeType.BuildercommitDiff(CommitDiffSourceCodeType)SourceCodeType.Builder repositoryHead(RepositoryHeadSourceCodeType repositoryHead)
repositoryHead - The new value for the RepositoryHead property for this object.default SourceCodeType.Builder repositoryHead(Consumer<RepositoryHeadSourceCodeType.Builder> repositoryHead)
RepositoryHeadSourceCodeType.Builder
avoiding the need to create one manually via RepositoryHeadSourceCodeType.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to repositoryHead(RepositoryHeadSourceCodeType).
repositoryHead - a consumer that will call methods on RepositoryHeadSourceCodeType.BuilderrepositoryHead(RepositoryHeadSourceCodeType)SourceCodeType.Builder branchDiff(BranchDiffSourceCodeType branchDiff)
A type of SourceCodeType that specifies a source branch name and a destination branch name in an associated repository.
branchDiff - A type of SourceCodeType
that specifies a source branch name and a destination branch name in an associated repository.default SourceCodeType.Builder branchDiff(Consumer<BranchDiffSourceCodeType.Builder> branchDiff)
A type of SourceCodeType that specifies a source branch name and a destination branch name in an associated repository.
This is a convenience method that creates an instance of theBranchDiffSourceCodeType.Builder
avoiding the need to create one manually via BranchDiffSourceCodeType.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to branchDiff(BranchDiffSourceCodeType).
branchDiff - a consumer that will call methods on BranchDiffSourceCodeType.BuilderbranchDiff(BranchDiffSourceCodeType)SourceCodeType.Builder s3BucketRepository(S3BucketRepository s3BucketRepository)
Information about an associated repository in an S3 bucket that includes its name and an
S3RepositoryDetails object. The S3RepositoryDetails 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.
S3BucketRepository is required in SourceCodeType for
S3BucketRepository based code reviews.
s3BucketRepository - Information about an associated repository in an S3 bucket that includes its name and an
S3RepositoryDetails object. The S3RepositoryDetails 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.
S3BucketRepository is required in SourceCodeType
for S3BucketRepository based code reviews.default SourceCodeType.Builder s3BucketRepository(Consumer<S3BucketRepository.Builder> s3BucketRepository)
Information about an associated repository in an S3 bucket that includes its name and an
S3RepositoryDetails object. The S3RepositoryDetails 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.
S3BucketRepository is required in SourceCodeType for
S3BucketRepository based code reviews.
S3BucketRepository.Builder avoiding the
need to create one manually via S3BucketRepository.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to s3BucketRepository(S3BucketRepository).
s3BucketRepository - a consumer that will call methods on S3BucketRepository.Builders3BucketRepository(S3BucketRepository)SourceCodeType.Builder requestMetadata(RequestMetadata requestMetadata)
Metadata that is associated with a code review. This applies to any type of code review supported by CodeGuru
Reviewer. The RequestMetadaa field captures any event metadata. For example, it might capture
metadata associated with an event trigger, such as a push or a pull request.
requestMetadata - Metadata that is associated with a code review. This applies to any type of code review supported by
CodeGuru Reviewer. The RequestMetadaa field captures any event metadata. For example, it
might capture metadata associated with an event trigger, such as a push or a pull request.default SourceCodeType.Builder requestMetadata(Consumer<RequestMetadata.Builder> requestMetadata)
Metadata that is associated with a code review. This applies to any type of code review supported by CodeGuru
Reviewer. The RequestMetadaa field captures any event metadata. For example, it might capture
metadata associated with an event trigger, such as a push or a pull request.
RequestMetadata.Builder avoiding the
need to create one manually via RequestMetadata.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to requestMetadata(RequestMetadata).
requestMetadata - a consumer that will call methods on RequestMetadata.BuilderrequestMetadata(RequestMetadata)Copyright © 2023. All rights reserved.