public LockRuleResult withStatus(String status) {
        setStatus(status);
        return this;
    }
<p>
The state of the retention rule. Only retention rules that are in the <code>available</code> state retain
resources.
</p>

@param status
       The state of the retention rule. Only retention rules that are in the <code>available</code> state retain
       resources.
@return Returns a reference to this object so that method calls can be chained together.
@see RuleStatus
aws-java-sdk-recyclebin/src/main/java/com/amazonaws/services/recyclebin/model/LockRuleResult.java