Interface CommitDiffSourceCodeType.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CommitDiffSourceCodeType.Builder,
,CommitDiffSourceCodeType> SdkBuilder<CommitDiffSourceCodeType.Builder,
,CommitDiffSourceCodeType> SdkPojo
- Enclosing class:
CommitDiffSourceCodeType
public static interface CommitDiffSourceCodeType.Builder
extends SdkPojo, CopyableBuilder<CommitDiffSourceCodeType.Builder,CommitDiffSourceCodeType>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationCommit
(String destinationCommit) The SHA of the destination commit used to generate a commit diff.mergeBaseCommit
(String mergeBaseCommit) The SHA of the merge base of a commit.sourceCommit
(String sourceCommit) The SHA of the source commit used to generate a commit diff.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
sourceCommit
The SHA of the source commit used to generate a commit diff. This field is required for a pull request code review.
- Parameters:
sourceCommit
- The SHA of the source commit used to generate a commit diff. This field is required for a pull request code review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationCommit
The SHA of the destination commit used to generate a commit diff. This field is required for a pull request code review.
- Parameters:
destinationCommit
- The SHA of the destination commit used to generate a commit diff. This field is required for a pull request code review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mergeBaseCommit
The SHA of the merge base of a commit.
- Parameters:
mergeBaseCommit
- The SHA of the merge base of a commit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-