public void setLockState(String lockState) {
        this.lockState = lockState;
    }
<p>
The lock state for the retention rule.
</p>
<ul>
<li>
<p>
<code>locked</code> - The retention rule is locked and can't be modified or deleted.
</p>
</li>
<li>
<p>
<code>pending_unlock</code> - The retention rule has been unlocked but it is still within the unlock delay
period. The retention rule can be modified or deleted only after the unlock delay period has expired.
</p>
</li>
<li>
<p>
<code>unlocked</code> - The retention rule is unlocked and it can be modified or deleted by any user with the
required permissions.
</p>
</li>
<li>
<p>
<code>null</code> - The retention rule has never been locked. Once a retention rule has been locked, it can
transition between the <code>locked</code> and <code>unlocked</code> states only; it can never transition back to
<code>null</code>.
</p>
</li>
</ul>

@param lockState
       The lock state for the retention rule.</p>
       <ul>
       <li>
       <p>
       <code>locked</code> - The retention rule is locked and can't be modified or deleted.
       </p>
       </li>
       <li>
       <p>
       <code>pending_unlock</code> - The retention rule has been unlocked but it is still within the unlock delay
       period. The retention rule can be modified or deleted only after the unlock delay period has expired.
       </p>
       </li>
       <li>
       <p>
       <code>unlocked</code> - The retention rule is unlocked and it can be modified or deleted by any user with
       the required permissions.
       </p>
       </li>
       <li>
       <p>
       <code>null</code> - The retention rule has never been locked. Once a retention rule has been locked, it
       can transition between the <code>locked</code> and <code>unlocked</code> states only; it can never
       transition back to <code>null</code>.
       </p>
       </li>
@see LockState
aws-java-sdk-recyclebin/src/main/java/com/amazonaws/services/recyclebin/model/LockRuleResult.java