Interface EvaluatePullRequestApprovalRulesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCommitResponse.Builder,CopyableBuilder<EvaluatePullRequestApprovalRulesResponse.Builder,,EvaluatePullRequestApprovalRulesResponse> SdkBuilder<EvaluatePullRequestApprovalRulesResponse.Builder,,EvaluatePullRequestApprovalRulesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
EvaluatePullRequestApprovalRulesResponse
public static interface EvaluatePullRequestApprovalRulesResponse.Builder
extends CodeCommitResponse.Builder, SdkPojo, CopyableBuilder<EvaluatePullRequestApprovalRulesResponse.Builder,EvaluatePullRequestApprovalRulesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionevaluation(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.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.Methods inherited from interface software.amazon.awssdk.services.codecommit.model.CodeCommitResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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
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.Builderavoiding the need to create one manually viaEvaluation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevaluation(Evaluation).- Parameters:
evaluation- a consumer that will call methods onEvaluation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-