public Key withKeyState(String keyState) {
        setKeyState(keyState);
        return this;
    }
<p>
The state of key that is being created or deleted.
</p>

@param keyState
       The state of key that is being created or deleted.
@return Returns a reference to this object so that method calls can be chained together.
@see KeyState
aws-java-sdk-paymentcryptography/src/main/java/com/amazonaws/services/paymentcryptography/model/Key.java