Interface EvaluatePullRequestApprovalRulesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CodeCommitResponse.Builder, CopyableBuilder<EvaluatePullRequestApprovalRulesResponse.Builder,EvaluatePullRequestApprovalRulesResponse>, SdkBuilder<EvaluatePullRequestApprovalRulesResponse.Builder,EvaluatePullRequestApprovalRulesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
EvaluatePullRequestApprovalRulesResponse

  • Method Details

    • evaluation

      The result of the evaluation, including the names of the rules whose conditions have been met (if any), the names of the rules whose conditions have not been met (if any), whether the pull request is in the approved state, and whether the pull request approval rule has been set aside by an override.

      Parameters:
      evaluation - The result of the evaluation, including the names of the rules whose conditions have been met (if any), the names of the rules whose conditions have not been met (if any), whether the pull request is in the approved state, and whether the pull request approval rule has been set aside by an override.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluation

      The result of the evaluation, including the names of the rules whose conditions have been met (if any), the names of the rules whose conditions have not been met (if any), whether the pull request is in the approved state, and whether the pull request approval rule has been set aside by an override.

      This is a convenience method that creates an instance of the Evaluation.Builder avoiding the need to create one manually via Evaluation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to evaluation(Evaluation).

      Parameters:
      evaluation - a consumer that will call methods on Evaluation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: