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 ==
.