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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdatePullRequestStatusRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdatePullRequestStatusRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdatePullRequestStatusRequest.BuilderpullRequestId(String pullRequestId)The system-generated ID of the pull request.UpdatePullRequestStatusRequest.BuilderpullRequestStatus(String pullRequestStatus)The status of the pull request.UpdatePullRequestStatusRequest.BuilderpullRequestStatus(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 Detail
-
pullRequestId
UpdatePullRequestStatusRequest.Builder pullRequestId(String 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
UpdatePullRequestStatusRequest.Builder pullRequestStatus(String pullRequestStatus)
The status of the pull request. The only valid operations are to update the status from
OPENtoOPEN,OPENtoCLOSEDor fromCLOSEDtoCLOSED.- Parameters:
pullRequestStatus- The status of the pull request. The only valid operations are to update the status fromOPENtoOPEN,OPENtoCLOSEDor fromCLOSEDtoCLOSED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PullRequestStatusEnum,PullRequestStatusEnum
-
pullRequestStatus
UpdatePullRequestStatusRequest.Builder pullRequestStatus(PullRequestStatusEnum pullRequestStatus)
The status of the pull request. The only valid operations are to update the status from
OPENtoOPEN,OPENtoCLOSEDor fromCLOSEDtoCLOSED.- Parameters:
pullRequestStatus- The status of the pull request. The only valid operations are to update the status fromOPENtoOPEN,OPENtoCLOSEDor fromCLOSEDtoCLOSED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PullRequestStatusEnum,PullRequestStatusEnum
-
overrideConfiguration
UpdatePullRequestStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdatePullRequestStatusRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-