public DescribeStackDriftDetectionStatusResult withStackDriftStatus(StackDriftStatus stackDriftStatus) {
        this.stackDriftStatus = stackDriftStatus.toString();
        return this;
    }
<p>
Status of the stack's actual configuration compared to its expected configuration.
</p>
<ul>
<li>
<p>
<code>DRIFTED</code>: The stack differs from its expected template configuration. A stack is considered to have
drifted if one or more of its resources have drifted.
</p>
</li>
<li>
<p>
<code>NOT_CHECKED</code>: CloudFormation hasn't checked if the stack differs from its expected template
configuration.
</p>
</li>
<li>
<p>
<code>IN_SYNC</code>: The stack's actual configuration matches its expected template configuration.
</p>
</li>
<li>
<p>
<code>UNKNOWN</code>: This value is reserved for future use.
</p>
</li>
</ul>

@param stackDriftStatus
       Status of the stack's actual configuration compared to its expected configuration.</p>
       <ul>
       <li>
       <p>
       <code>DRIFTED</code>: The stack differs from its expected template configuration. A stack is considered to
       have drifted if one or more of its resources have drifted.
       </p>
       </li>
       <li>
       <p>
       <code>NOT_CHECKED</code>: CloudFormation hasn't checked if the stack differs from its expected template
       configuration.
       </p>
       </li>
       <li>
       <p>
       <code>IN_SYNC</code>: The stack's actual configuration matches its expected template configuration.
       </p>
       </li>
       <li>
       <p>
       <code>UNKNOWN</code>: This value is reserved for future use.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see StackDriftStatus
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/DescribeStackDriftDetectionStatusResult.java