Struct aws_sdk_codecommit::operation::evaluate_pull_request_approval_rules::builders::EvaluatePullRequestApprovalRulesOutputBuilder
source · #[non_exhaustive]pub struct EvaluatePullRequestApprovalRulesOutputBuilder { /* private fields */ }Expand description
A builder for EvaluatePullRequestApprovalRulesOutput.
Implementations§
source§impl EvaluatePullRequestApprovalRulesOutputBuilder
impl EvaluatePullRequestApprovalRulesOutputBuilder
sourcepub fn evaluation(self, input: Evaluation) -> Self
pub fn evaluation(self, input: Evaluation) -> Self
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 field is required.sourcepub fn set_evaluation(self, input: Option<Evaluation>) -> Self
pub fn set_evaluation(self, input: Option<Evaluation>) -> Self
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.
sourcepub fn get_evaluation(&self) -> &Option<Evaluation>
pub fn get_evaluation(&self) -> &Option<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.
sourcepub fn build(self) -> EvaluatePullRequestApprovalRulesOutput
pub fn build(self) -> EvaluatePullRequestApprovalRulesOutput
Consumes the builder and constructs a EvaluatePullRequestApprovalRulesOutput.
Trait Implementations§
source§impl Clone for EvaluatePullRequestApprovalRulesOutputBuilder
impl Clone for EvaluatePullRequestApprovalRulesOutputBuilder
source§fn clone(&self) -> EvaluatePullRequestApprovalRulesOutputBuilder
fn clone(&self) -> EvaluatePullRequestApprovalRulesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for EvaluatePullRequestApprovalRulesOutputBuilder
impl Default for EvaluatePullRequestApprovalRulesOutputBuilder
source§fn default() -> EvaluatePullRequestApprovalRulesOutputBuilder
fn default() -> EvaluatePullRequestApprovalRulesOutputBuilder
source§impl PartialEq for EvaluatePullRequestApprovalRulesOutputBuilder
impl PartialEq for EvaluatePullRequestApprovalRulesOutputBuilder
source§fn eq(&self, other: &EvaluatePullRequestApprovalRulesOutputBuilder) -> bool
fn eq(&self, other: &EvaluatePullRequestApprovalRulesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.