Interface MergePullRequestByThreeWayResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<MergePullRequestByThreeWayResponse.Builder,MergePullRequestByThreeWayResponse>,SdkBuilder<MergePullRequestByThreeWayResponse.Builder,MergePullRequestByThreeWayResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- MergePullRequestByThreeWayResponse
public static interface MergePullRequestByThreeWayResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<MergePullRequestByThreeWayResponse.Builder,MergePullRequestByThreeWayResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MergePullRequestByThreeWayResponse.BuilderpullRequest(Consumer<PullRequest.Builder> pullRequest)Sets the value of the PullRequest property for this object.MergePullRequestByThreeWayResponse.BuilderpullRequest(PullRequest pullRequest)Sets the value of the PullRequest property for this object.-
Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
pullRequest
MergePullRequestByThreeWayResponse.Builder pullRequest(PullRequest pullRequest)
Sets the value of the PullRequest property for this object.- Parameters:
pullRequest- The new value for the PullRequest property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pullRequest
default MergePullRequestByThreeWayResponse.Builder pullRequest(Consumer<PullRequest.Builder> pullRequest)
Sets the value of the PullRequest property for this object. 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:
pullRequest(PullRequest)
-
-