public ClientVpnAuthorizationRuleStatus withCode(ClientVpnAuthorizationRuleStatusCode code) {
        this.code = code.toString();
        return this;
    }
<p>
The state of the authorization rule.
</p>

@param code
       The state of the authorization rule.
@return Returns a reference to this object so that method calls can be chained together.
@see ClientVpnAuthorizationRuleStatusCode
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ClientVpnAuthorizationRuleStatus.java