#[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 ==
.