Class StackResourceDriftInformationSummary
- java.lang.Object
-
- software.amazon.awssdk.services.cloudformation.model.StackResourceDriftInformationSummary
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<StackResourceDriftInformationSummary.Builder,StackResourceDriftInformationSummary>
@Generated("software.amazon.awssdk:codegen") public final class StackResourceDriftInformationSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StackResourceDriftInformationSummary.Builder,StackResourceDriftInformationSummary>
Summarizes 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 interface
StackResourceDriftInformationSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StackResourceDriftInformationSummary.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Instant
lastCheckTimestamp()
When CloudFormation last checked if the resource had drifted from its expected configuration.List<SdkField<?>>
sdkFields()
static Class<? extends StackResourceDriftInformationSummary.Builder>
serializableBuilderClass()
StackResourceDriftStatus
stackResourceDriftStatus()
Status of the resource's actual configuration compared to its expected configuration.String
stackResourceDriftStatusAsString()
Status of the resource's actual configuration compared to its expected configuration.StackResourceDriftInformationSummary.Builder
toBuilder()
String
toString()
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 hasn't checked if the resource differs from its expected configuration.Any resources that don't currently support drift detection have a status of
NOT_CHECKED
. For more information, see Resources that Support Drift Detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included inResourcesToSkip
will also have a status ofNOT_CHECKED
. For more information about skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide. -
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,
stackResourceDriftStatus
will 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 hasn't checked if the resource differs from its expected configuration.Any resources that don't currently support drift detection have a status of
NOT_CHECKED
. For more information, see Resources that Support Drift Detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included inResourcesToSkip
will also have a status ofNOT_CHECKED
. For more information about skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide. -
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 hasn't checked if the resource differs from its expected configuration.Any resources that don't currently support drift detection have a status of
NOT_CHECKED
. For more information, see Resources that Support Drift Detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included inResourcesToSkip
will also have a status ofNOT_CHECKED
. For more information about skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide. -
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,
stackResourceDriftStatus
will 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 hasn't checked if the resource differs from its expected configuration.Any resources that don't currently support drift detection have a status of
NOT_CHECKED
. For more information, see Resources that Support Drift Detection. If you performed an ContinueUpdateRollback operation on a stack, any resources included inResourcesToSkip
will also have a status ofNOT_CHECKED
. For more information about skipping resources during rollback operations, see Continue Rolling Back an Update in the CloudFormation User Guide. -
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 StackResourceDriftInformationSummary.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<StackResourceDriftInformationSummary.Builder,StackResourceDriftInformationSummary>
-
builder
public static StackResourceDriftInformationSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends StackResourceDriftInformationSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-