Struct aws_sdk_codecommit::types::builders::EvaluationBuilder
source · #[non_exhaustive]pub struct EvaluationBuilder { /* private fields */ }Expand description
A builder for Evaluation.
Implementations§
source§impl EvaluationBuilder
impl EvaluationBuilder
sourcepub fn set_approved(self, input: Option<bool>) -> Self
pub fn set_approved(self, input: Option<bool>) -> Self
Whether the state of the pull request is approved.
sourcepub fn get_approved(&self) -> &Option<bool>
pub fn get_approved(&self) -> &Option<bool>
Whether the state of the pull request is approved.
sourcepub fn overridden(self, input: bool) -> Self
pub fn overridden(self, input: bool) -> Self
Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.
sourcepub fn set_overridden(self, input: Option<bool>) -> Self
pub fn set_overridden(self, input: Option<bool>) -> Self
Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.
sourcepub fn get_overridden(&self) -> &Option<bool>
pub fn get_overridden(&self) -> &Option<bool>
Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.
sourcepub fn approval_rules_satisfied(self, input: impl Into<String>) -> Self
pub fn approval_rules_satisfied(self, input: impl Into<String>) -> Self
Appends an item to approval_rules_satisfied.
To override the contents of this collection use set_approval_rules_satisfied.
The names of the approval rules that have had their conditions met.
sourcepub fn set_approval_rules_satisfied(self, input: Option<Vec<String>>) -> Self
pub fn set_approval_rules_satisfied(self, input: Option<Vec<String>>) -> Self
The names of the approval rules that have had their conditions met.
sourcepub fn get_approval_rules_satisfied(&self) -> &Option<Vec<String>>
pub fn get_approval_rules_satisfied(&self) -> &Option<Vec<String>>
The names of the approval rules that have had their conditions met.
sourcepub fn approval_rules_not_satisfied(self, input: impl Into<String>) -> Self
pub fn approval_rules_not_satisfied(self, input: impl Into<String>) -> Self
Appends an item to approval_rules_not_satisfied.
To override the contents of this collection use set_approval_rules_not_satisfied.
The names of the approval rules that have not had their conditions met.
sourcepub fn set_approval_rules_not_satisfied(
self,
input: Option<Vec<String>>
) -> Self
pub fn set_approval_rules_not_satisfied( self, input: Option<Vec<String>> ) -> Self
The names of the approval rules that have not had their conditions met.
sourcepub fn get_approval_rules_not_satisfied(&self) -> &Option<Vec<String>>
pub fn get_approval_rules_not_satisfied(&self) -> &Option<Vec<String>>
The names of the approval rules that have not had their conditions met.
sourcepub fn build(self) -> Evaluation
pub fn build(self) -> Evaluation
Consumes the builder and constructs a Evaluation.
Trait Implementations§
source§impl Clone for EvaluationBuilder
impl Clone for EvaluationBuilder
source§fn clone(&self) -> EvaluationBuilder
fn clone(&self) -> EvaluationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for EvaluationBuilder
impl Debug for EvaluationBuilder
source§impl Default for EvaluationBuilder
impl Default for EvaluationBuilder
source§fn default() -> EvaluationBuilder
fn default() -> EvaluationBuilder
source§impl PartialEq for EvaluationBuilder
impl PartialEq for EvaluationBuilder
source§fn eq(&self, other: &EvaluationBuilder) -> bool
fn eq(&self, other: &EvaluationBuilder) -> bool
self and other values to be equal, and is used
by ==.