Interface DeletePullRequestApprovalRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeCommitRequest.Builder,CopyableBuilder<DeletePullRequestApprovalRuleRequest.Builder,,DeletePullRequestApprovalRuleRequest> SdkBuilder<DeletePullRequestApprovalRuleRequest.Builder,,DeletePullRequestApprovalRuleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeletePullRequestApprovalRuleRequest
public static interface DeletePullRequestApprovalRuleRequest.Builder
extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<DeletePullRequestApprovalRuleRequest.Builder,DeletePullRequestApprovalRuleRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapprovalRuleName(String approvalRuleName) The name of the approval rule you want to delete.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 that contains the approval rule you want to delete.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 that contains the approval rule you want to delete.
- Parameters:
pullRequestId- The system-generated ID of the pull request that contains the approval rule you want to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approvalRuleName
The name of the approval rule you want to delete.
- Parameters:
approvalRuleName- The name of the approval rule you want to delete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeletePullRequestApprovalRuleRequest.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
DeletePullRequestApprovalRuleRequest.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.
-