@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StackDriftInformation extends Object implements Serializable, Cloneable
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.
Constructor and Description |
---|
StackDriftInformation() |
Modifier and Type | Method and Description |
---|---|
StackDriftInformation |
clone() |
boolean |
equals(Object obj) |
Date |
getLastCheckTimestamp()
Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources
that support drift detection.
|
String |
getStackDriftStatus()
Status of the stack's actual configuration compared to its expected template configuration.
|
int |
hashCode() |
void |
setLastCheckTimestamp(Date lastCheckTimestamp)
Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources
that support drift detection.
|
void |
setStackDriftStatus(String stackDriftStatus)
Status of the stack's actual configuration compared to its expected template configuration.
|
String |
toString()
Returns a string representation of this object.
|
StackDriftInformation |
withLastCheckTimestamp(Date lastCheckTimestamp)
Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources
that support drift detection.
|
StackDriftInformation |
withStackDriftStatus(StackDriftStatus stackDriftStatus)
Status of the stack's actual configuration compared to its expected template configuration.
|
StackDriftInformation |
withStackDriftStatus(String stackDriftStatus)
Status of the stack's actual configuration compared to its expected template configuration.
|
public void setStackDriftStatus(String 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.
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.
StackDriftStatus
public String getStackDriftStatus()
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.
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.
StackDriftStatus
public StackDriftInformation withStackDriftStatus(String 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.
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.
StackDriftStatus
public StackDriftInformation withStackDriftStatus(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.
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.
StackDriftStatus
public void setLastCheckTimestamp(Date lastCheckTimestamp)
Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection.
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 Date getLastCheckTimestamp()
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 withLastCheckTimestamp(Date lastCheckTimestamp)
Most recent time when a drift detection operation was initiated on the stack, or any of its individual resources that support drift detection.
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 String toString()
toString
in class Object
Object.toString()
public StackDriftInformation clone()