Struct aws_sdk_apptest::types::builders::StepBuilder
source · #[non_exhaustive]pub struct StepBuilder { /* private fields */ }
Expand description
A builder for Step
.
Implementations§
source§impl StepBuilder
impl StepBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the step.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the step.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the step.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the step.
sourcepub fn action(self, input: StepAction) -> Self
pub fn action(self, input: StepAction) -> Self
The action of the step.
This field is required.sourcepub fn set_action(self, input: Option<StepAction>) -> Self
pub fn set_action(self, input: Option<StepAction>) -> Self
The action of the step.
sourcepub fn get_action(&self) -> &Option<StepAction>
pub fn get_action(&self) -> &Option<StepAction>
The action of the step.
Trait Implementations§
source§impl Clone for StepBuilder
impl Clone for StepBuilder
source§fn clone(&self) -> StepBuilder
fn clone(&self) -> StepBuilder
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 StepBuilder
impl Debug for StepBuilder
source§impl Default for StepBuilder
impl Default for StepBuilder
source§fn default() -> StepBuilder
fn default() -> StepBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StepBuilder
impl PartialEq for StepBuilder
source§fn eq(&self, other: &StepBuilder) -> bool
fn eq(&self, other: &StepBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StepBuilder
Auto Trait Implementations§
impl Freeze for StepBuilder
impl RefUnwindSafe for StepBuilder
impl Send for StepBuilder
impl Sync for StepBuilder
impl Unpin for StepBuilder
impl UnwindSafe for StepBuilder
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> 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.