类 CredentialCode


  • public class CredentialCode
    extends java.lang.Object
    The credential code is used for the backup of the vault data.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      java.lang.String getToken()
      Get the token of the credential code.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • CredentialCode

        public CredentialCode​(ServiceEndpoint endpoint,
                              BackupContext context)
        Create the credential code by service end point and the backup context.
        参数:
        endpoint - The service end point.
        context - The backup context.
    • 方法详细资料

      • getToken

        public java.lang.String getToken()
                                  throws HiveException
        Get the token of the credential code.
        返回:
        The token of the credential code.
        抛出:
        HiveException - The error comes from the hive node.