@Generated(value="software.amazon.awssdk:codegen") public final class PropertyDifference extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PropertyDifference.Builder,PropertyDifference>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PropertyDifference.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
actualValue()
The actual property value of the resource property.
|
static PropertyDifference.Builder |
builder() |
DifferenceType |
differenceType()
The type of property difference.
|
String |
differenceTypeAsString()
The type of property difference.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
expectedValue()
The expected property value of the resource property, as defined in the stack template and any values specified
as template parameters.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
propertyPath()
The fully-qualified path to the resource property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PropertyDifference.Builder> |
serializableBuilderClass() |
PropertyDifference.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String propertyPath()
The fully-qualified path to the resource property.
public final String expectedValue()
The expected property value of the resource property, as defined in the stack template and any values specified as template parameters.
public final String actualValue()
The actual property value of the resource property.
public final DifferenceType differenceType()
The type of property difference.
ADD: A value has been added to a resource property that is 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).
If the service returns an enum value that is not available in the current SDK version, differenceType
will return DifferenceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from differenceTypeAsString().
ADD: A value has been added to a resource property that is 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).
DifferenceTypepublic final String differenceTypeAsString()
The type of property difference.
ADD: A value has been added to a resource property that is 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).
If the service returns an enum value that is not available in the current SDK version, differenceType
will return DifferenceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from differenceTypeAsString().
ADD: A value has been added to a resource property that is 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).
DifferenceTypepublic PropertyDifference.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PropertyDifference.Builder,PropertyDifference>public static PropertyDifference.Builder builder()
public static Class<? extends PropertyDifference.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.