public static interface UpdatePullRequestStatusRequest.Builder extends CodeCommitRequest.Builder, CopyableBuilder<UpdatePullRequestStatusRequest.Builder,UpdatePullRequestStatusRequest>
Modifier and Type | Method and Description |
---|---|
UpdatePullRequestStatusRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdatePullRequestStatusRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdatePullRequestStatusRequest.Builder |
pullRequestId(String pullRequestId)
The system-generated ID of the pull request.
|
UpdatePullRequestStatusRequest.Builder |
pullRequestStatus(PullRequestStatusEnum pullRequestStatus)
The status of the pull request.
|
UpdatePullRequestStatusRequest.Builder |
pullRequestStatus(String pullRequestStatus)
The status of the pull request.
|
build
overrideConfiguration
copy
applyMutation, build
UpdatePullRequestStatusRequest.Builder pullRequestId(String pullRequestId)
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
pullRequestId
- The system-generated ID of the pull request. To get this ID, use ListPullRequests.UpdatePullRequestStatusRequest.Builder pullRequestStatus(String pullRequestStatus)
The status of the pull request. The only valid operations are to update the status from OPEN
to
OPEN
, OPEN
to CLOSED
or from from CLOSED
to
CLOSED
.
pullRequestStatus
- The status of the pull request. The only valid operations are to update the status from
OPEN
to OPEN
, OPEN
to CLOSED
or from from
CLOSED
to CLOSED
.PullRequestStatusEnum
,
PullRequestStatusEnum
UpdatePullRequestStatusRequest.Builder pullRequestStatus(PullRequestStatusEnum pullRequestStatus)
The status of the pull request. The only valid operations are to update the status from OPEN
to
OPEN
, OPEN
to CLOSED
or from from CLOSED
to
CLOSED
.
pullRequestStatus
- The status of the pull request. The only valid operations are to update the status from
OPEN
to OPEN
, OPEN
to CLOSED
or from from
CLOSED
to CLOSED
.PullRequestStatusEnum
,
PullRequestStatusEnum
UpdatePullRequestStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdatePullRequestStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.