@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PropertyDifference extends Object implements Serializable, Cloneable
Information about a resource property whose actual value differs from its expected value, as defined in the stack
template and any values specified as template parameters. These will be present only for resources whose
StackResourceDriftStatus
is MODIFIED
. For more information, see Detecting
Unregulated Configuration Changes to Stacks and Resources.
Constructor and Description |
---|
PropertyDifference() |
Modifier and Type | Method and Description |
---|---|
PropertyDifference |
clone() |
boolean |
equals(Object obj) |
String |
getActualValue()
The actual property value of the resource property.
|
String |
getDifferenceType()
The type of property difference.
|
String |
getExpectedValue()
The expected property value of the resource property, as defined in the stack template and any values specified
as template parameters.
|
String |
getPropertyPath()
The fully-qualified path to the resource property.
|
int |
hashCode() |
void |
setActualValue(String actualValue)
The actual property value of the resource property.
|
void |
setDifferenceType(String differenceType)
The type of property difference.
|
void |
setExpectedValue(String expectedValue)
The expected property value of the resource property, as defined in the stack template and any values specified
as template parameters.
|
void |
setPropertyPath(String propertyPath)
The fully-qualified path to the resource property.
|
String |
toString()
Returns a string representation of this object.
|
PropertyDifference |
withActualValue(String actualValue)
The actual property value of the resource property.
|
PropertyDifference |
withDifferenceType(DifferenceType differenceType)
The type of property difference.
|
PropertyDifference |
withDifferenceType(String differenceType)
The type of property difference.
|
PropertyDifference |
withExpectedValue(String expectedValue)
The expected property value of the resource property, as defined in the stack template and any values specified
as template parameters.
|
PropertyDifference |
withPropertyPath(String propertyPath)
The fully-qualified path to the resource property.
|
public void setPropertyPath(String propertyPath)
The fully-qualified path to the resource property.
propertyPath
- The fully-qualified path to the resource property.public String getPropertyPath()
The fully-qualified path to the resource property.
public PropertyDifference withPropertyPath(String propertyPath)
The fully-qualified path to the resource property.
propertyPath
- The fully-qualified path to the resource property.public void setExpectedValue(String expectedValue)
The expected property value of the resource property, as defined in the stack template and any values specified as template parameters.
expectedValue
- The expected property value of the resource property, as defined in the stack template and any values
specified as template parameters.public String getExpectedValue()
The expected property value of the resource property, as defined in the stack template and any values specified as template parameters.
public PropertyDifference withExpectedValue(String expectedValue)
The expected property value of the resource property, as defined in the stack template and any values specified as template parameters.
expectedValue
- The expected property value of the resource property, as defined in the stack template and any values
specified as template parameters.public void setActualValue(String actualValue)
The actual property value of the resource property.
actualValue
- The actual property value of the resource property.public String getActualValue()
The actual property value of the resource property.
public PropertyDifference withActualValue(String actualValue)
The actual property value of the resource property.
actualValue
- The actual property value of the resource property.public void setDifferenceType(String 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).
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).
DifferenceType
public String getDifferenceType()
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).
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).
DifferenceType
public PropertyDifference withDifferenceType(String 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).
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).
DifferenceType
public PropertyDifference withDifferenceType(DifferenceType 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).
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).
DifferenceType
public String toString()
toString
in class Object
Object.toString()
public PropertyDifference clone()