@Generated(value="software.amazon.awssdk:codegen") public final class StackDriftInformation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StackDriftInformation.Builder,StackDriftInformation>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
StackDriftInformation.Builder |
Modifier and Type | Method and Description |
---|---|
static StackDriftInformation.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StackDriftInformation.Builder> |
serializableBuilderClass() |
StackDriftStatus |
stackDriftStatus()
Status of the stack's actual configuration compared to its expected template configuration.
|
String |
stackDriftStatusAsString()
Status of the stack's actual configuration compared to its expected template configuration.
|
StackDriftInformation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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
: AWS CloudFormation has not 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, stackDriftStatus
will return StackDriftStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from stackDriftStatusAsString()
.
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
: AWS CloudFormation has not 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.
StackDriftStatus
public 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
: AWS CloudFormation has not 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, stackDriftStatus
will return StackDriftStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from stackDriftStatusAsString()
.
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
: AWS CloudFormation has not 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.
StackDriftStatus
public 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.
public StackDriftInformation.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<StackDriftInformation.Builder,StackDriftInformation>
public static StackDriftInformation.Builder builder()
public static Class<? extends StackDriftInformation.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.