Struct aws_sdk_cloudformation::types::builders::ParameterBuilder
source · #[non_exhaustive]pub struct ParameterBuilder { /* private fields */ }
Expand description
A builder for Parameter
.
Implementations§
source§impl ParameterBuilder
impl ParameterBuilder
sourcepub fn parameter_key(self, input: impl Into<String>) -> Self
pub fn parameter_key(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, CloudFormation uses the default value that's specified in your template.
sourcepub fn set_parameter_key(self, input: Option<String>) -> Self
pub fn set_parameter_key(self, input: Option<String>) -> Self
The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that's specified in your template.
sourcepub fn get_parameter_key(&self) -> &Option<String>
pub fn get_parameter_key(&self) -> &Option<String>
The key associated with the parameter. If you don't specify a key and value for a particular parameter, CloudFormation uses the default value that's specified in your template.
sourcepub fn parameter_value(self, input: impl Into<String>) -> Self
pub fn parameter_value(self, input: impl Into<String>) -> Self
The input value associated with the parameter.
sourcepub fn set_parameter_value(self, input: Option<String>) -> Self
pub fn set_parameter_value(self, input: Option<String>) -> Self
The input value associated with the parameter.
sourcepub fn get_parameter_value(&self) -> &Option<String>
pub fn get_parameter_value(&self) -> &Option<String>
The input value associated with the parameter.
sourcepub fn use_previous_value(self, input: bool) -> Self
pub fn use_previous_value(self, input: bool) -> Self
During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true
, do not specify a parameter value.
sourcepub fn set_use_previous_value(self, input: Option<bool>) -> Self
pub fn set_use_previous_value(self, input: Option<bool>) -> Self
During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true
, do not specify a parameter value.
sourcepub fn get_use_previous_value(&self) -> &Option<bool>
pub fn get_use_previous_value(&self) -> &Option<bool>
During a stack update, use the existing parameter value that the stack is using for a given parameter key. If you specify true
, do not specify a parameter value.
sourcepub fn resolved_value(self, input: impl Into<String>) -> Self
pub fn resolved_value(self, input: impl Into<String>) -> Self
Read-only. The value that corresponds to a SSM parameter key. This field is returned only for SSM parameter types in the template.
sourcepub fn set_resolved_value(self, input: Option<String>) -> Self
pub fn set_resolved_value(self, input: Option<String>) -> Self
Read-only. The value that corresponds to a SSM parameter key. This field is returned only for SSM parameter types in the template.
sourcepub fn get_resolved_value(&self) -> &Option<String>
pub fn get_resolved_value(&self) -> &Option<String>
Read-only. The value that corresponds to a SSM parameter key. This field is returned only for SSM parameter types in the template.
Trait Implementations§
source§impl Clone for ParameterBuilder
impl Clone for ParameterBuilder
source§fn clone(&self) -> ParameterBuilder
fn clone(&self) -> ParameterBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParameterBuilder
impl Debug for ParameterBuilder
source§impl Default for ParameterBuilder
impl Default for ParameterBuilder
source§fn default() -> ParameterBuilder
fn default() -> ParameterBuilder
source§impl PartialEq for ParameterBuilder
impl PartialEq for ParameterBuilder
source§fn eq(&self, other: &ParameterBuilder) -> bool
fn eq(&self, other: &ParameterBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ParameterBuilder
Auto Trait Implementations§
impl Freeze for ParameterBuilder
impl RefUnwindSafe for ParameterBuilder
impl Send for ParameterBuilder
impl Sync for ParameterBuilder
impl Unpin for ParameterBuilder
impl UnwindSafe for ParameterBuilder
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
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>
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>
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 more