Interface OverridePullRequestApprovalRulesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeCommitRequest.Builder,CopyableBuilder<OverridePullRequestApprovalRulesRequest.Builder,OverridePullRequestApprovalRulesRequest>,SdkBuilder<OverridePullRequestApprovalRulesRequest.Builder,OverridePullRequestApprovalRulesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- OverridePullRequestApprovalRulesRequest
public static interface OverridePullRequestApprovalRulesRequest.Builder extends CodeCommitRequest.Builder, SdkPojo, CopyableBuilder<OverridePullRequestApprovalRulesRequest.Builder,OverridePullRequestApprovalRulesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OverridePullRequestApprovalRulesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)OverridePullRequestApprovalRulesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)OverridePullRequestApprovalRulesRequest.BuilderoverrideStatus(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).OverridePullRequestApprovalRulesRequest.BuilderoverrideStatus(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).OverridePullRequestApprovalRulesRequest.BuilderpullRequestId(String pullRequestId)The system-generated ID of the pull request for which you want to override all approval rule requirements.OverridePullRequestApprovalRulesRequest.BuilderrevisionId(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 Detail
-
pullRequestId
OverridePullRequestApprovalRulesRequest.Builder pullRequestId(String 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
OverridePullRequestApprovalRulesRequest.Builder revisionId(String 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
OverridePullRequestApprovalRulesRequest.Builder 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). 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,OverrideStatus
-
overrideStatus
OverridePullRequestApprovalRulesRequest.Builder 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). 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,OverrideStatus
-
overrideConfiguration
OverridePullRequestApprovalRulesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
OverridePullRequestApprovalRulesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-