public static interface EvaluatePullRequestApprovalRulesResponse.Builder extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<EvaluatePullRequestApprovalRulesResponse.Builder,EvaluatePullRequestApprovalRulesResponse>
| Modifier and Type | Method and Description |
|---|---|
default EvaluatePullRequestApprovalRulesResponse.Builder |
evaluation(Consumer<Evaluation.Builder> 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.
|
EvaluatePullRequestApprovalRulesResponse.Builder |
evaluation(Evaluation 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.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildEvaluatePullRequestApprovalRulesResponse.Builder evaluation(Evaluation 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.
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.default EvaluatePullRequestApprovalRulesResponse.Builder evaluation(Consumer<Evaluation.Builder> 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 theEvaluation.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).
evaluation - a consumer that will call methods on Evaluation.Builderevaluation(Evaluation)Copyright © 2023. All rights reserved.