Struct aws_sdk_codepipeline::types::builders::ConditionStateBuilder
source · #[non_exhaustive]pub struct ConditionStateBuilder { /* private fields */ }
Expand description
A builder for ConditionState
.
Implementations§
source§impl ConditionStateBuilder
impl ConditionStateBuilder
sourcepub fn latest_execution(self, input: ConditionExecution) -> Self
pub fn latest_execution(self, input: ConditionExecution) -> Self
The state of the latest run of the rule.
sourcepub fn set_latest_execution(self, input: Option<ConditionExecution>) -> Self
pub fn set_latest_execution(self, input: Option<ConditionExecution>) -> Self
The state of the latest run of the rule.
sourcepub fn get_latest_execution(&self) -> &Option<ConditionExecution>
pub fn get_latest_execution(&self) -> &Option<ConditionExecution>
The state of the latest run of the rule.
sourcepub fn rule_states(self, input: RuleState) -> Self
pub fn rule_states(self, input: RuleState) -> Self
Appends an item to rule_states
.
To override the contents of this collection use set_rule_states
.
The state of the rules for the condition.
sourcepub fn set_rule_states(self, input: Option<Vec<RuleState>>) -> Self
pub fn set_rule_states(self, input: Option<Vec<RuleState>>) -> Self
The state of the rules for the condition.
sourcepub fn get_rule_states(&self) -> &Option<Vec<RuleState>>
pub fn get_rule_states(&self) -> &Option<Vec<RuleState>>
The state of the rules for the condition.
sourcepub fn build(self) -> ConditionState
pub fn build(self) -> ConditionState
Consumes the builder and constructs a ConditionState
.
Trait Implementations§
source§impl Clone for ConditionStateBuilder
impl Clone for ConditionStateBuilder
source§fn clone(&self) -> ConditionStateBuilder
fn clone(&self) -> ConditionStateBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConditionStateBuilder
impl Debug for ConditionStateBuilder
source§impl Default for ConditionStateBuilder
impl Default for ConditionStateBuilder
source§fn default() -> ConditionStateBuilder
fn default() -> ConditionStateBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConditionStateBuilder
impl PartialEq for ConditionStateBuilder
impl StructuralPartialEq for ConditionStateBuilder
Auto Trait Implementations§
impl Freeze for ConditionStateBuilder
impl RefUnwindSafe for ConditionStateBuilder
impl Send for ConditionStateBuilder
impl Sync for ConditionStateBuilder
impl Unpin for ConditionStateBuilder
impl UnwindSafe for ConditionStateBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.