#[non_exhaustive]pub struct ParameterDeclaration {
pub parameter_key: Option<String>,
pub default_value: Option<String>,
pub parameter_type: Option<String>,
pub no_echo: Option<bool>,
pub description: Option<String>,
pub parameter_constraints: Option<ParameterConstraints>,
}
Expand description
The ParameterDeclaration data type.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.parameter_key: Option<String>
The name that's associated with the parameter.
default_value: Option<String>
The default value of the parameter.
parameter_type: Option<String>
The type of parameter.
no_echo: Option<bool>
Flag that indicates whether the parameter value is shown as plain text in logs and in the Amazon Web Services Management Console.
description: Option<String>
The description that's associate with the parameter.
parameter_constraints: Option<ParameterConstraints>
The criteria that CloudFormation uses to validate parameter values.
Implementations§
source§impl ParameterDeclaration
impl ParameterDeclaration
sourcepub fn parameter_key(&self) -> Option<&str>
pub fn parameter_key(&self) -> Option<&str>
The name that's associated with the parameter.
sourcepub fn default_value(&self) -> Option<&str>
pub fn default_value(&self) -> Option<&str>
The default value of the parameter.
sourcepub fn parameter_type(&self) -> Option<&str>
pub fn parameter_type(&self) -> Option<&str>
The type of parameter.
sourcepub fn no_echo(&self) -> Option<bool>
pub fn 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) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description that's associate with the parameter.
sourcepub fn parameter_constraints(&self) -> Option<&ParameterConstraints>
pub fn parameter_constraints(&self) -> Option<&ParameterConstraints>
The criteria that CloudFormation uses to validate parameter values.
source§impl ParameterDeclaration
impl ParameterDeclaration
sourcepub fn builder() -> ParameterDeclarationBuilder
pub fn builder() -> ParameterDeclarationBuilder
Creates a new builder-style object to manufacture ParameterDeclaration
.
Trait Implementations§
source§impl Clone for ParameterDeclaration
impl Clone for ParameterDeclaration
source§fn clone(&self) -> ParameterDeclaration
fn clone(&self) -> ParameterDeclaration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ParameterDeclaration
impl Debug for ParameterDeclaration
source§impl PartialEq for ParameterDeclaration
impl PartialEq for ParameterDeclaration
source§fn eq(&self, other: &ParameterDeclaration) -> bool
fn eq(&self, other: &ParameterDeclaration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ParameterDeclaration
Auto Trait Implementations§
impl Freeze for ParameterDeclaration
impl RefUnwindSafe for ParameterDeclaration
impl Send for ParameterDeclaration
impl Sync for ParameterDeclaration
impl Unpin for ParameterDeclaration
impl UnwindSafe for ParameterDeclaration
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