Struct aws_sdk_deadline::types::builders::StepParameterBuilder
source · #[non_exhaustive]pub struct StepParameterBuilder { /* private fields */ }Expand description
A builder for StepParameter.
Implementations§
source§impl StepParameterBuilder
impl StepParameterBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the parameter.
This field is required.sourcepub fn type(self, input: StepParameterType) -> Self
pub fn type(self, input: StepParameterType) -> Self
The data type of the parameter.
This field is required.sourcepub fn set_type(self, input: Option<StepParameterType>) -> Self
pub fn set_type(self, input: Option<StepParameterType>) -> Self
The data type of the parameter.
sourcepub fn get_type(&self) -> &Option<StepParameterType>
pub fn get_type(&self) -> &Option<StepParameterType>
The data type of the parameter.
sourcepub fn build(self) -> Result<StepParameter, BuildError>
pub fn build(self) -> Result<StepParameter, BuildError>
Consumes the builder and constructs a StepParameter.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for StepParameterBuilder
impl Clone for StepParameterBuilder
source§fn clone(&self) -> StepParameterBuilder
fn clone(&self) -> StepParameterBuilder
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 StepParameterBuilder
impl Debug for StepParameterBuilder
source§impl Default for StepParameterBuilder
impl Default for StepParameterBuilder
source§fn default() -> StepParameterBuilder
fn default() -> StepParameterBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StepParameterBuilder
impl PartialEq for StepParameterBuilder
source§fn eq(&self, other: &StepParameterBuilder) -> bool
fn eq(&self, other: &StepParameterBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StepParameterBuilder
Auto Trait Implementations§
impl Freeze for StepParameterBuilder
impl RefUnwindSafe for StepParameterBuilder
impl Send for StepParameterBuilder
impl Sync for StepParameterBuilder
impl Unpin for StepParameterBuilder
impl UnwindSafe for StepParameterBuilder
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>
Creates a shared type from an unshared type.