#[non_exhaustive]pub struct ParameterDeclarationBuilder { /* private fields */ }
Expand description
A builder for ParameterDeclaration
.
Implementations§
source§impl ParameterDeclarationBuilder
impl ParameterDeclarationBuilder
sourcepub fn parameter_key(self, input: impl Into<String>) -> Self
pub fn parameter_key(self, input: impl Into<String>) -> Self
The name that's associated with the parameter.
sourcepub fn set_parameter_key(self, input: Option<String>) -> Self
pub fn set_parameter_key(self, input: Option<String>) -> Self
The name that's associated with the parameter.
sourcepub fn get_parameter_key(&self) -> &Option<String>
pub fn get_parameter_key(&self) -> &Option<String>
The name that's associated with the parameter.
sourcepub fn default_value(self, input: impl Into<String>) -> Self
pub fn default_value(self, input: impl Into<String>) -> Self
The default value of the parameter.
sourcepub fn set_default_value(self, input: Option<String>) -> Self
pub fn set_default_value(self, input: Option<String>) -> Self
The default value of the parameter.
sourcepub fn get_default_value(&self) -> &Option<String>
pub fn get_default_value(&self) -> &Option<String>
The default value of the parameter.
sourcepub fn parameter_type(self, input: impl Into<String>) -> Self
pub fn parameter_type(self, input: impl Into<String>) -> Self
The type of parameter.
sourcepub fn set_parameter_type(self, input: Option<String>) -> Self
pub fn set_parameter_type(self, input: Option<String>) -> Self
The type of parameter.
sourcepub fn get_parameter_type(&self) -> &Option<String>
pub fn get_parameter_type(&self) -> &Option<String>
The type of parameter.
sourcepub fn no_echo(self, input: bool) -> Self
pub fn no_echo(self, input: bool) -> Self
Flag that indicates whether the parameter value is shown as plain text in logs and in the Amazon Web Services Management Console.
sourcepub fn set_no_echo(self, input: Option<bool>) -> Self
pub fn set_no_echo(self, input: Option<bool>) -> Self
Flag that indicates whether the parameter value is shown as plain text in logs and in the Amazon Web Services Management Console.
sourcepub fn get_no_echo(&self) -> &Option<bool>
pub fn get_no_echo(&self) -> &Option<bool>
Flag that indicates whether the parameter value is shown as plain text in logs and in the Amazon Web Services Management Console.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description that's associate with the parameter.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description that's associate with the parameter.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description that's associate with the parameter.
sourcepub fn parameter_constraints(self, input: ParameterConstraints) -> Self
pub fn parameter_constraints(self, input: ParameterConstraints) -> Self
The criteria that CloudFormation uses to validate parameter values.
sourcepub fn set_parameter_constraints(
self,
input: Option<ParameterConstraints>
) -> Self
pub fn set_parameter_constraints( self, input: Option<ParameterConstraints> ) -> Self
The criteria that CloudFormation uses to validate parameter values.
sourcepub fn get_parameter_constraints(&self) -> &Option<ParameterConstraints>
pub fn get_parameter_constraints(&self) -> &Option<ParameterConstraints>
The criteria that CloudFormation uses to validate parameter values.
sourcepub fn build(self) -> ParameterDeclaration
pub fn build(self) -> ParameterDeclaration
Consumes the builder and constructs a ParameterDeclaration
.
Trait Implementations§
source§impl Clone for ParameterDeclarationBuilder
impl Clone for ParameterDeclarationBuilder
source§fn clone(&self) -> ParameterDeclarationBuilder
fn clone(&self) -> ParameterDeclarationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParameterDeclarationBuilder
impl Debug for ParameterDeclarationBuilder
source§impl Default for ParameterDeclarationBuilder
impl Default for ParameterDeclarationBuilder
source§fn default() -> ParameterDeclarationBuilder
fn default() -> ParameterDeclarationBuilder
source§impl PartialEq for ParameterDeclarationBuilder
impl PartialEq for ParameterDeclarationBuilder
source§fn eq(&self, other: &ParameterDeclarationBuilder) -> bool
fn eq(&self, other: &ParameterDeclarationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.