Struct aws_sdk_cloudformation::model::parameter_declaration::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for ParameterDeclaration.
Implementations
sourceimpl Builder
impl Builder
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 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 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 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 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 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 build(self) -> ParameterDeclaration
pub fn build(self) -> ParameterDeclaration
Consumes the builder and constructs a ParameterDeclaration.