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 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

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.