@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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastCheckTimestamp()
When AWS 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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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
: AWS 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
: AWS 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.
StackResourceDriftStatus
public 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
: AWS 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
: AWS 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.
StackResourceDriftStatus
public Instant lastCheckTimestamp()
When AWS CloudFormation last checked if the resource had drifted from its expected configuration.
public StackResourceDriftInformation.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StackResourceDriftInformation.Builder,StackResourceDriftInformation>
public static StackResourceDriftInformation.Builder builder()
public static Class<? extends StackResourceDriftInformation.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.