Class StackResourceDriftInformation
- java.lang.Object
-
- software.amazon.awssdk.services.cloudformation.model.StackResourceDriftInformation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StackResourceDriftInformation.Builder,StackResourceDriftInformation>
@Generated("software.amazon.awssdk:codegen") public final class StackResourceDriftInformation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StackResourceDriftInformation.Builder,StackResourceDriftInformation>
Contains information about whether the resource's actual configuration differs, or has drifted, from its expected configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStackResourceDriftInformation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StackResourceDriftInformation.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastCheckTimestamp()When CloudFormation last checked if the resource had drifted from its expected configuration.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StackResourceDriftInformation.Builder>serializableBuilderClass()StackResourceDriftStatusstackResourceDriftStatus()Status of the resource's actual configuration compared to its expected configurationStringstackResourceDriftStatusAsString()Status of the resource's actual configuration compared to its expected configurationStackResourceDriftInformation.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
stackResourceDriftStatus
public final StackResourceDriftStatus stackResourceDriftStatus()
Status of the resource's actual configuration compared to its expected configuration
-
DELETED: The resource differs from its expected configuration in that it has been deleted. -
MODIFIED: The resource differs from its expected configuration. -
NOT_CHECKED: CloudFormation has not checked if the resource differs from its expected configuration.Any resources that do not currently support drift detection have a status of
NOT_CHECKED. For more information, see Resource type support for imports and drift detection. -
IN_SYNC: The resource's actual configuration matches its expected configuration.
If the service returns an enum value that is not available in the current SDK version,
stackResourceDriftStatuswill returnStackResourceDriftStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstackResourceDriftStatusAsString().- Returns:
- Status of the resource's actual configuration compared to its expected configuration
-
DELETED: The resource differs from its expected configuration in that it has been deleted. -
MODIFIED: The resource differs from its expected configuration. -
NOT_CHECKED: CloudFormation has not checked if the resource differs from its expected configuration.Any resources that do not currently support drift detection have a status of
NOT_CHECKED. For more information, see Resource type support for imports and drift detection. -
IN_SYNC: The resource's actual configuration matches its expected configuration.
-
- See Also:
StackResourceDriftStatus
-
-
stackResourceDriftStatusAsString
public final String stackResourceDriftStatusAsString()
Status of the resource's actual configuration compared to its expected configuration
-
DELETED: The resource differs from its expected configuration in that it has been deleted. -
MODIFIED: The resource differs from its expected configuration. -
NOT_CHECKED: CloudFormation has not checked if the resource differs from its expected configuration.Any resources that do not currently support drift detection have a status of
NOT_CHECKED. For more information, see Resource type support for imports and drift detection. -
IN_SYNC: The resource's actual configuration matches its expected configuration.
If the service returns an enum value that is not available in the current SDK version,
stackResourceDriftStatuswill returnStackResourceDriftStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstackResourceDriftStatusAsString().- Returns:
- Status of the resource's actual configuration compared to its expected configuration
-
DELETED: The resource differs from its expected configuration in that it has been deleted. -
MODIFIED: The resource differs from its expected configuration. -
NOT_CHECKED: CloudFormation has not checked if the resource differs from its expected configuration.Any resources that do not currently support drift detection have a status of
NOT_CHECKED. For more information, see Resource type support for imports and drift detection. -
IN_SYNC: The resource's actual configuration matches its expected configuration.
-
- See Also:
StackResourceDriftStatus
-
-
lastCheckTimestamp
public final Instant lastCheckTimestamp()
When CloudFormation last checked if the resource had drifted from its expected configuration.
- Returns:
- When CloudFormation last checked if the resource had drifted from its expected configuration.
-
toBuilder
public StackResourceDriftInformation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StackResourceDriftInformation.Builder,StackResourceDriftInformation>
-
builder
public static StackResourceDriftInformation.Builder builder()
-
serializableBuilderClass
public static Class<? extends StackResourceDriftInformation.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-