@key_state.setter
def key_state(self, key_state):
    'Sets the key_state of this KeyStatusInfo.\n\n        密钥状态： - 2为启用状态 - 3为禁用状态 - 4为计划删除状态 - 5为等待导入状态 - 7为冻结状态\n\n        :param key_state: The key_state of this KeyStatusInfo.\n        :type: str\n        '
    self._key_state = key_state
Sets the key_state of this KeyStatusInfo.

密钥状态： - 2为启用状态 - 3为禁用状态 - 4为计划删除状态 - 5为等待导入状态 - 7为冻结状态

:param key_state: The key_state of this KeyStatusInfo.
:type: str
@key_state.setter
def key_state(self, key_state):
    'Sets the key_state of this KeyStatusInfo.\n\n        密钥状态： - 2为启用状态 - 3为禁用状态 - 4为计划删除状态 - 5为等待导入状态 - 7为冻结状态\n\n        :param key_state: The key_state of this KeyStatusInfo.\n        :type: str\n        '
    self._key_state = key_state