#[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 ==
.impl StructuralPartialEq for ParameterDeclarationBuilder
Auto Trait Implementations§
impl Freeze for ParameterDeclarationBuilder
impl RefUnwindSafe for ParameterDeclarationBuilder
impl Send for ParameterDeclarationBuilder
impl Sync for ParameterDeclarationBuilder
impl Unpin for ParameterDeclarationBuilder
impl UnwindSafe for ParameterDeclarationBuilder
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