Interface UpdatePullRequestApprovalStateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeCommitRequest.Builder,CopyableBuilder<UpdatePullRequestApprovalStateRequest.Builder,,UpdatePullRequestApprovalStateRequest> SdkBuilder<UpdatePullRequestApprovalStateRequest.Builder,,UpdatePullRequestApprovalStateRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdatePullRequestApprovalStateRequest
public static interface UpdatePullRequestApprovalStateRequest.Builder
extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<UpdatePullRequestApprovalStateRequest.Builder,UpdatePullRequestApprovalStateRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapprovalState(String approvalState) The approval state to associate with the user on the pull request.approvalState(ApprovalState approvalState) The approval state to associate with the user on the pull request.overrideConfiguration(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.revisionId(String revisionId) The system-generated ID of the revision.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
pullRequestId
The system-generated ID of the pull request.
- Parameters:
pullRequestId- The system-generated ID of the pull request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
The system-generated ID of the revision.
- Parameters:
revisionId- The system-generated ID of the revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvalState
The approval state to associate with the user on the pull request.
- Parameters:
approvalState- The approval state to associate with the user on the pull request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
approvalState
The approval state to associate with the user on the pull request.
- Parameters:
approvalState- The approval state to associate with the user on the pull request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdatePullRequestApprovalStateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdatePullRequestApprovalStateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-