Class StackDriftInformationSummary
- java.lang.Object
-
- software.amazon.awssdk.services.cloudformation.model.StackDriftInformationSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StackDriftInformationSummary.Builder,StackDriftInformationSummary>
@Generated("software.amazon.awssdk:codegen") public final class StackDriftInformationSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StackDriftInformationSummary.Builder,StackDriftInformationSummary>
Contains information about whether the stack's actual configuration differs, or has drifted, from its expected configuration, as defined in the stack template and any values specified as template parameters. A stack is considered to have drifted if one or more of its resources have drifted.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStackDriftInformationSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StackDriftInformationSummary.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastCheckTimestamp()Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StackDriftInformationSummary.Builder>serializableBuilderClass()StackDriftStatusstackDriftStatus()Status of the stack's actual configuration compared to its expected template configuration.StringstackDriftStatusAsString()Status of the stack's actual configuration compared to its expected template configuration.StackDriftInformationSummary.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
-
stackDriftStatus
public final StackDriftStatus stackDriftStatus()
Status of the stack's actual configuration compared to its expected template configuration.
-
DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. -
NOT_CHECKED: CloudFormation hasn't checked if the stack differs from its expected template configuration. -
IN_SYNC: The stack's actual configuration matches its expected template configuration. -
UNKNOWN: This value is reserved for future use.
If the service returns an enum value that is not available in the current SDK version,
stackDriftStatuswill returnStackDriftStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstackDriftStatusAsString().- Returns:
- Status of the stack's actual configuration compared to its expected template configuration.
-
DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. -
NOT_CHECKED: CloudFormation hasn't checked if the stack differs from its expected template configuration. -
IN_SYNC: The stack's actual configuration matches its expected template configuration. -
UNKNOWN: This value is reserved for future use.
-
- See Also:
StackDriftStatus
-
-
stackDriftStatusAsString
public final String stackDriftStatusAsString()
Status of the stack's actual configuration compared to its expected template configuration.
-
DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. -
NOT_CHECKED: CloudFormation hasn't checked if the stack differs from its expected template configuration. -
IN_SYNC: The stack's actual configuration matches its expected template configuration. -
UNKNOWN: This value is reserved for future use.
If the service returns an enum value that is not available in the current SDK version,
stackDriftStatuswill returnStackDriftStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstackDriftStatusAsString().- Returns:
- Status of the stack's actual configuration compared to its expected template configuration.
-
DRIFTED: The stack differs from its expected template configuration. A stack is considered to have drifted if one or more of its resources have drifted. -
NOT_CHECKED: CloudFormation hasn't checked if the stack differs from its expected template configuration. -
IN_SYNC: The stack's actual configuration matches its expected template configuration. -
UNKNOWN: This value is reserved for future use.
-
- See Also:
StackDriftStatus
-
-
lastCheckTimestamp
public final Instant lastCheckTimestamp()
Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection.
- Returns:
- Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection.
-
toBuilder
public StackDriftInformationSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StackDriftInformationSummary.Builder,StackDriftInformationSummary>
-
builder
public static StackDriftInformationSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends StackDriftInformationSummary.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
-
-