public class CredentialCode
extends java.lang.Object
| Constructor and Description |
|---|
CredentialCode(ServiceEndpoint endpoint,
BackupContext context)
Create the credential code by service end point and the backup context.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getToken()
Get the token of the credential code.
|
public CredentialCode(ServiceEndpoint endpoint, BackupContext context)
endpoint - The service end point.context - The backup context.public java.lang.String getToken()
throws HiveException
HiveException - The error comes from the hive node.