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