Struct aws_sdk_codepipeline::types::builders::ConditionBuilder
source · #[non_exhaustive]pub struct ConditionBuilder { /* private fields */ }
Expand description
A builder for Condition
.
Implementations§
source§impl ConditionBuilder
impl ConditionBuilder
sourcepub fn result(self, input: Result) -> Self
pub fn result(self, input: Result) -> Self
The action to be done when the condition is met. For example, rolling back an execution for a failure condition.
sourcepub fn set_result(self, input: Option<Result>) -> Self
pub fn set_result(self, input: Option<Result>) -> Self
The action to be done when the condition is met. For example, rolling back an execution for a failure condition.
sourcepub fn get_result(&self) -> &Option<Result>
pub fn get_result(&self) -> &Option<Result>
The action to be done when the condition is met. For example, rolling back an execution for a failure condition.
sourcepub fn rules(self, input: RuleDeclaration) -> Self
pub fn rules(self, input: RuleDeclaration) -> Self
Appends an item to rules
.
To override the contents of this collection use set_rules
.
The rules that make up the condition.
sourcepub fn set_rules(self, input: Option<Vec<RuleDeclaration>>) -> Self
pub fn set_rules(self, input: Option<Vec<RuleDeclaration>>) -> Self
The rules that make up the condition.
sourcepub fn get_rules(&self) -> &Option<Vec<RuleDeclaration>>
pub fn get_rules(&self) -> &Option<Vec<RuleDeclaration>>
The rules that make up the condition.
Trait Implementations§
source§impl Clone for ConditionBuilder
impl Clone for ConditionBuilder
source§fn clone(&self) -> ConditionBuilder
fn clone(&self) -> ConditionBuilder
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 ConditionBuilder
impl Debug for ConditionBuilder
source§impl Default for ConditionBuilder
impl Default for ConditionBuilder
source§fn default() -> ConditionBuilder
fn default() -> ConditionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConditionBuilder
impl PartialEq for ConditionBuilder
impl StructuralPartialEq for ConditionBuilder
Auto Trait Implementations§
impl Freeze for ConditionBuilder
impl RefUnwindSafe for ConditionBuilder
impl Send for ConditionBuilder
impl Sync for ConditionBuilder
impl Unpin for ConditionBuilder
impl UnwindSafe for ConditionBuilder
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.