Class CreateKeyResponse

    • Constructor Detail

      • CreateKeyResponse

        public CreateKeyResponse()
      • CreateKeyResponse

        public CreateKeyResponse​(CreateKeyResponse source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getKeyId

        public String getKeyId()
        Get CMK的全局唯一标识符
        Returns:
        KeyId CMK的全局唯一标识符
      • setKeyId

        public void setKeyId​(String KeyId)
        Set CMK的全局唯一标识符
        Parameters:
        KeyId - CMK的全局唯一标识符
      • getAlias

        public String getAlias()
        Get 作为密钥更容易辨识,更容易被人看懂的别名
        Returns:
        Alias 作为密钥更容易辨识,更容易被人看懂的别名
      • setAlias

        public void setAlias​(String Alias)
        Set 作为密钥更容易辨识,更容易被人看懂的别名
        Parameters:
        Alias - 作为密钥更容易辨识,更容易被人看懂的别名
      • getCreateTime

        public Long getCreateTime()
        Get 密钥创建时间,unix时间戳
        Returns:
        CreateTime 密钥创建时间,unix时间戳
      • setCreateTime

        public void setCreateTime​(Long CreateTime)
        Set 密钥创建时间,unix时间戳
        Parameters:
        CreateTime - 密钥创建时间,unix时间戳
      • getDescription

        public String getDescription()
        Get CMK的描述 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Description CMK的描述 注意:此字段可能返回 null,表示取不到有效值。
      • setDescription

        public void setDescription​(String Description)
        Set CMK的描述 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Description - CMK的描述 注意:此字段可能返回 null,表示取不到有效值。
      • getKeyState

        public String getKeyState()
        Get CMK的状态
        Returns:
        KeyState CMK的状态
      • setKeyState

        public void setKeyState​(String KeyState)
        Set CMK的状态
        Parameters:
        KeyState - CMK的状态
      • getKeyUsage

        public String getKeyUsage()
        Get CMK的用途
        Returns:
        KeyUsage CMK的用途
      • setKeyUsage

        public void setKeyUsage​(String KeyUsage)
        Set CMK的用途
        Parameters:
        KeyUsage - CMK的用途
      • getTagCode

        public Long getTagCode()
        Get 标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        TagCode 标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误 注意:此字段可能返回 null,表示取不到有效值。
      • setTagCode

        public void setTagCode​(Long TagCode)
        Set 标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        TagCode - 标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误 注意:此字段可能返回 null,表示取不到有效值。
      • getTagMsg

        public String getTagMsg()
        Get 标签操作的返回信息 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        TagMsg 标签操作的返回信息 注意:此字段可能返回 null,表示取不到有效值。
      • setTagMsg

        public void setTagMsg​(String TagMsg)
        Set 标签操作的返回信息 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        TagMsg - 标签操作的返回信息 注意:此字段可能返回 null,表示取不到有效值。
      • getHsmClusterId

        public String getHsmClusterId()
        Get HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效) 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        HsmClusterId HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效) 注意:此字段可能返回 null,表示取不到有效值。
      • setHsmClusterId

        public void setHsmClusterId​(String HsmClusterId)
        Set HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效) 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        HsmClusterId - HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效) 注意:此字段可能返回 null,表示取不到有效值。
      • getRequestId

        public String getRequestId()
        Get 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
        Returns:
        RequestId 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
      • setRequestId

        public void setRequestId​(String RequestId)
        Set 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
        Parameters:
        RequestId - 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。