#[non_exhaustive]pub struct ParameterValueBuilder { /* private fields */ }
Expand description
A builder for ParameterValue
.
Implementations§
source§impl ParameterValueBuilder
impl ParameterValueBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The key associated with the parameter. If you don't specify a key and value for a particular parameter, AWS CloudFormation uses the default value that is specified in your template.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The input value associated with the parameter.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The input value associated with the parameter.
sourcepub fn build(self) -> ParameterValue
pub fn build(self) -> ParameterValue
Consumes the builder and constructs a ParameterValue
.
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 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