Interface MergePullRequestByFastForwardResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<MergePullRequestByFastForwardResponse.Builder,,MergePullRequestByFastForwardResponse> SdkBuilder<MergePullRequestByFastForwardResponse.Builder,,MergePullRequestByFastForwardResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
MergePullRequestByFastForwardResponse
public static interface MergePullRequestByFastForwardResponse.Builder
extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<MergePullRequestByFastForwardResponse.Builder,MergePullRequestByFastForwardResponse>
-
Method Summary
Modifier and TypeMethodDescriptionpullRequest(Consumer<PullRequest.Builder> pullRequest) Information about the specified pull request, including the merge.pullRequest(PullRequest pullRequest) Information about the specified pull request, including the merge.Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
pullRequest
Information about the specified pull request, including the merge.
- Parameters:
pullRequest- Information about the specified pull request, including the merge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pullRequest
default MergePullRequestByFastForwardResponse.Builder pullRequest(Consumer<PullRequest.Builder> pullRequest) Information about the specified pull request, including the merge.
This is a convenience method that creates an instance of thePullRequest.Builderavoiding the need to create one manually viaPullRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topullRequest(PullRequest).- Parameters:
pullRequest- a consumer that will call methods onPullRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-