@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) |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String propertyPath()
The fully-qualified path to the resource property.
public String expectedValue()
The expected property value of the resource property, as defined in the stack template and any values specified as template parameters.
public String actualValue()
The actual property value of the resource property.
public 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).
DifferenceType
public 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).
DifferenceType
public PropertyDifference.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PropertyDifference.Builder,PropertyDifference>
public static PropertyDifference.Builder builder()
public static Class<? extends PropertyDifference.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.