#[non_exhaustive]pub struct WarningDetailBuilder { /* private fields */ }
Expand description
A builder for WarningDetail
.
Implementations§
source§impl WarningDetailBuilder
impl WarningDetailBuilder
sourcepub fn type(self, input: WarningType) -> Self
pub fn type(self, input: WarningType) -> Self
The type of this warning. For more information, see IaC generator and write-only properties in the CloudFormation User Guide.
-
MUTUALLY_EXCLUSIVE_PROPERTIES
- The resource requires mutually-exclusive write-only properties. The IaC generator selects one set of mutually exclusive properties and converts the included properties into parameters. The parameter names have a suffixOneOf
and the parameter descriptions indicate that the corresponding property can be replaced with other exclusive properties. -
UNSUPPORTED_PROPERTIES
- Unsupported properties are present in the resource. One example of unsupported properties would be a required write-only property that is an array, because a parameter cannot be an array. Another example is an optional write-only property. -
MUTUALLY_EXCLUSIVE_TYPES
- One or more required write-only properties are found in the resource, and the type of that property can be any of several types.
Currently the resource and property reference documentation does not indicate if a property uses a type of oneOf
or anyOf
. You need to look at the resource provider schema.
sourcepub fn set_type(self, input: Option<WarningType>) -> Self
pub fn set_type(self, input: Option<WarningType>) -> Self
The type of this warning. For more information, see IaC generator and write-only properties in the CloudFormation User Guide.
-
MUTUALLY_EXCLUSIVE_PROPERTIES
- The resource requires mutually-exclusive write-only properties. The IaC generator selects one set of mutually exclusive properties and converts the included properties into parameters. The parameter names have a suffixOneOf
and the parameter descriptions indicate that the corresponding property can be replaced with other exclusive properties. -
UNSUPPORTED_PROPERTIES
- Unsupported properties are present in the resource. One example of unsupported properties would be a required write-only property that is an array, because a parameter cannot be an array. Another example is an optional write-only property. -
MUTUALLY_EXCLUSIVE_TYPES
- One or more required write-only properties are found in the resource, and the type of that property can be any of several types.
Currently the resource and property reference documentation does not indicate if a property uses a type of oneOf
or anyOf
. You need to look at the resource provider schema.
sourcepub fn get_type(&self) -> &Option<WarningType>
pub fn get_type(&self) -> &Option<WarningType>
The type of this warning. For more information, see IaC generator and write-only properties in the CloudFormation User Guide.
-
MUTUALLY_EXCLUSIVE_PROPERTIES
- The resource requires mutually-exclusive write-only properties. The IaC generator selects one set of mutually exclusive properties and converts the included properties into parameters. The parameter names have a suffixOneOf
and the parameter descriptions indicate that the corresponding property can be replaced with other exclusive properties. -
UNSUPPORTED_PROPERTIES
- Unsupported properties are present in the resource. One example of unsupported properties would be a required write-only property that is an array, because a parameter cannot be an array. Another example is an optional write-only property. -
MUTUALLY_EXCLUSIVE_TYPES
- One or more required write-only properties are found in the resource, and the type of that property can be any of several types.
Currently the resource and property reference documentation does not indicate if a property uses a type of oneOf
or anyOf
. You need to look at the resource provider schema.
sourcepub fn properties(self, input: WarningProperty) -> Self
pub fn properties(self, input: WarningProperty) -> Self
Appends an item to properties
.
To override the contents of this collection use set_properties
.
The properties of the resource that are impacted by this warning.
sourcepub fn set_properties(self, input: Option<Vec<WarningProperty>>) -> Self
pub fn set_properties(self, input: Option<Vec<WarningProperty>>) -> Self
The properties of the resource that are impacted by this warning.
sourcepub fn get_properties(&self) -> &Option<Vec<WarningProperty>>
pub fn get_properties(&self) -> &Option<Vec<WarningProperty>>
The properties of the resource that are impacted by this warning.
sourcepub fn build(self) -> WarningDetail
pub fn build(self) -> WarningDetail
Consumes the builder and constructs a WarningDetail
.
Trait Implementations§
source§impl Clone for WarningDetailBuilder
impl Clone for WarningDetailBuilder
source§fn clone(&self) -> WarningDetailBuilder
fn clone(&self) -> WarningDetailBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WarningDetailBuilder
impl Debug for WarningDetailBuilder
source§impl Default for WarningDetailBuilder
impl Default for WarningDetailBuilder
source§fn default() -> WarningDetailBuilder
fn default() -> WarningDetailBuilder
source§impl PartialEq for WarningDetailBuilder
impl PartialEq for WarningDetailBuilder
source§fn eq(&self, other: &WarningDetailBuilder) -> bool
fn eq(&self, other: &WarningDetailBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WarningDetailBuilder
Auto Trait Implementations§
impl Freeze for WarningDetailBuilder
impl RefUnwindSafe for WarningDetailBuilder
impl Send for WarningDetailBuilder
impl Sync for WarningDetailBuilder
impl Unpin for WarningDetailBuilder
impl UnwindSafe for WarningDetailBuilder
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