@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
StackResourceDriftInformation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StackResourceDriftInformation.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 StackResourceDriftInformation.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
|
StackResourceDriftInformation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 Resources that Support Drift Detection.
IN_SYNC: The resources'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 return StackResourceDriftStatus.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from stackResourceDriftStatusAsString().
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 Resources that Support Drift Detection.
IN_SYNC: The resources's actual configuration matches its expected configuration.
StackResourceDriftStatuspublic 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 Resources that Support Drift Detection.
IN_SYNC: The resources'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 return StackResourceDriftStatus.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from stackResourceDriftStatusAsString().
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 Resources that Support Drift Detection.
IN_SYNC: The resources's actual configuration matches its expected configuration.
StackResourceDriftStatuspublic final Instant lastCheckTimestamp()
When CloudFormation last checked if the resource had drifted from its expected configuration.
public StackResourceDriftInformation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StackResourceDriftInformation.Builder,StackResourceDriftInformation>public static StackResourceDriftInformation.Builder builder()
public static Class<? extends StackResourceDriftInformation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.