Interface OverridePullRequestApprovalRulesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeCommitRequest.Builder
,CopyableBuilder<OverridePullRequestApprovalRulesRequest.Builder,
,OverridePullRequestApprovalRulesRequest> SdkBuilder<OverridePullRequestApprovalRulesRequest.Builder,
,OverridePullRequestApprovalRulesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
OverridePullRequestApprovalRulesRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.overrideStatus
(String overrideStatus) Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply approval rule requirements (REVOKE).overrideStatus
(OverrideStatus overrideStatus) Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply approval rule requirements (REVOKE).pullRequestId
(String pullRequestId) The system-generated ID of the pull request for which you want to override all approval rule requirements.revisionId
(String revisionId) The system-generated ID of the most recent revision 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 for which you want to override all approval rule requirements. To get this information, use GetPullRequest.
- Parameters:
pullRequestId
- The system-generated ID of the pull request for which you want to override all approval rule requirements. To get this information, use GetPullRequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
The system-generated ID of the most recent revision of the pull request. You cannot override approval rules for anything but the most recent revision of a pull request. To get the revision ID, use GetPullRequest.
- Parameters:
revisionId
- The system-generated ID of the most recent revision of the pull request. You cannot override approval rules for anything but the most recent revision of a pull request. To get the revision ID, use GetPullRequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideStatus
Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply approval rule requirements (REVOKE). REVOKE status is not stored.
- Parameters:
overrideStatus
- Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply approval rule requirements (REVOKE). REVOKE status is not stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideStatus
Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply approval rule requirements (REVOKE). REVOKE status is not stored.
- Parameters:
overrideStatus
- Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply approval rule requirements (REVOKE). REVOKE status is not stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
OverridePullRequestApprovalRulesRequest.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
OverridePullRequestApprovalRulesRequest.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.
-