Interface UpdatePullRequestStatusRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeCommitRequest.Builder
,CopyableBuilder<UpdatePullRequestStatusRequest.Builder,
,UpdatePullRequestStatusRequest> SdkBuilder<UpdatePullRequestStatusRequest.Builder,
,UpdatePullRequestStatusRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdatePullRequestStatusRequest
public static interface UpdatePullRequestStatusRequest.Builder
extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<UpdatePullRequestStatusRequest.Builder,UpdatePullRequestStatusRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.pullRequestId
(String pullRequestId) The system-generated ID of the pull request.pullRequestStatus
(String pullRequestStatus) The status of the pull request.pullRequestStatus
(PullRequestStatusEnum pullRequestStatus) The status of the pull request.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitRequest.Builder
build
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
-
pullRequestId
The system-generated ID of the pull request. To get this ID, use ListPullRequests.
- Parameters:
pullRequestId
- The system-generated ID of the pull request. To get this ID, use ListPullRequests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pullRequestStatus
The status of the pull request. The only valid operations are to update the status from
OPEN
toOPEN
,OPEN
toCLOSED
or fromCLOSED
toCLOSED
.- Parameters:
pullRequestStatus
- The status of the pull request. The only valid operations are to update the status fromOPEN
toOPEN
,OPEN
toCLOSED
or fromCLOSED
toCLOSED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
pullRequestStatus
The status of the pull request. The only valid operations are to update the status from
OPEN
toOPEN
,OPEN
toCLOSED
or fromCLOSED
toCLOSED
.- Parameters:
pullRequestStatus
- The status of the pull request. The only valid operations are to update the status fromOPEN
toOPEN
,OPEN
toCLOSED
or fromCLOSED
toCLOSED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdatePullRequestStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdatePullRequestStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-