Interface UpdatePullRequestTitleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCommitResponse.Builder
,CopyableBuilder<UpdatePullRequestTitleResponse.Builder,
,UpdatePullRequestTitleResponse> SdkBuilder<UpdatePullRequestTitleResponse.Builder,
,UpdatePullRequestTitleResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdatePullRequestTitleResponse
public static interface UpdatePullRequestTitleResponse.Builder
extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<UpdatePullRequestTitleResponse.Builder,UpdatePullRequestTitleResponse>
-
Method Summary
Modifier and TypeMethodDescriptionpullRequest
(Consumer<PullRequest.Builder> pullRequest) Information about the updated pull request.pullRequest
(PullRequest pullRequest) Information about the updated pull request.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 Details
-
pullRequest
Information about the updated pull request.
- Parameters:
pullRequest
- Information about the updated pull request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pullRequest
default UpdatePullRequestTitleResponse.Builder pullRequest(Consumer<PullRequest.Builder> pullRequest) Information about the updated pull request.
This is a convenience method that creates an instance of thePullRequest.Builder
avoiding the need to create one manually viaPullRequest.builder()
.When the
Consumer
completes,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:
-