#[non_exhaustive]pub struct PropertyDifferenceBuilder { /* private fields */ }
Expand description
A builder for PropertyDifference
.
Implementations§
source§impl PropertyDifferenceBuilder
impl PropertyDifferenceBuilder
sourcepub fn property_path(self, input: impl Into<String>) -> Self
pub fn property_path(self, input: impl Into<String>) -> Self
The fully-qualified path to the resource property.
This field is required.sourcepub fn set_property_path(self, input: Option<String>) -> Self
pub fn set_property_path(self, input: Option<String>) -> Self
The fully-qualified path to the resource property.
sourcepub fn get_property_path(&self) -> &Option<String>
pub fn get_property_path(&self) -> &Option<String>
The fully-qualified path to the resource property.
sourcepub fn expected_value(self, input: impl Into<String>) -> Self
pub fn expected_value(self, input: impl Into<String>) -> Self
The expected property value of the resource property, as defined in the stack template and any values specified as template parameters.
This field is required.sourcepub fn set_expected_value(self, input: Option<String>) -> Self
pub fn set_expected_value(self, input: Option<String>) -> Self
The expected property value of the resource property, as defined in the stack template and any values specified as template parameters.
sourcepub fn get_expected_value(&self) -> &Option<String>
pub fn get_expected_value(&self) -> &Option<String>
The expected property value of the resource property, as defined in the stack template and any values specified as template parameters.
sourcepub fn actual_value(self, input: impl Into<String>) -> Self
pub fn actual_value(self, input: impl Into<String>) -> Self
The actual property value of the resource property.
This field is required.sourcepub fn set_actual_value(self, input: Option<String>) -> Self
pub fn set_actual_value(self, input: Option<String>) -> Self
The actual property value of the resource property.
sourcepub fn get_actual_value(&self) -> &Option<String>
pub fn get_actual_value(&self) -> &Option<String>
The actual property value of the resource property.
sourcepub fn difference_type(self, input: DifferenceType) -> Self
pub fn difference_type(self, input: DifferenceType) -> Self
The type of property difference.
-
ADD
: A value has been added to a resource property that's an array or list data type. -
REMOVE
: The property has been removed from the current resource configuration. -
NOT_EQUAL
: The current property value differs from its expected value (as defined in the stack template and any values specified as template parameters).
sourcepub fn set_difference_type(self, input: Option<DifferenceType>) -> Self
pub fn set_difference_type(self, input: Option<DifferenceType>) -> Self
The type of property difference.
-
ADD
: A value has been added to a resource property that's an array or list data type. -
REMOVE
: The property has been removed from the current resource configuration. -
NOT_EQUAL
: The current property value differs from its expected value (as defined in the stack template and any values specified as template parameters).
sourcepub fn get_difference_type(&self) -> &Option<DifferenceType>
pub fn get_difference_type(&self) -> &Option<DifferenceType>
The type of property difference.
-
ADD
: A value has been added to a resource property that's an array or list data type. -
REMOVE
: The property has been removed from the current resource configuration. -
NOT_EQUAL
: The current property value differs from its expected value (as defined in the stack template and any values specified as template parameters).
sourcepub fn build(self) -> PropertyDifference
pub fn build(self) -> PropertyDifference
Consumes the builder and constructs a PropertyDifference
.
Trait Implementations§
source§impl Clone for PropertyDifferenceBuilder
impl Clone for PropertyDifferenceBuilder
source§fn clone(&self) -> PropertyDifferenceBuilder
fn clone(&self) -> PropertyDifferenceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PropertyDifferenceBuilder
impl Debug for PropertyDifferenceBuilder
source§impl Default for PropertyDifferenceBuilder
impl Default for PropertyDifferenceBuilder
source§fn default() -> PropertyDifferenceBuilder
fn default() -> PropertyDifferenceBuilder
source§impl PartialEq for PropertyDifferenceBuilder
impl PartialEq for PropertyDifferenceBuilder
source§fn eq(&self, other: &PropertyDifferenceBuilder) -> bool
fn eq(&self, other: &PropertyDifferenceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PropertyDifferenceBuilder
Auto Trait Implementations§
impl Freeze for PropertyDifferenceBuilder
impl RefUnwindSafe for PropertyDifferenceBuilder
impl Send for PropertyDifferenceBuilder
impl Sync for PropertyDifferenceBuilder
impl Unpin for PropertyDifferenceBuilder
impl UnwindSafe for PropertyDifferenceBuilder
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