public class Credentials extends Object implements SpasCredential
| Constructor and Description |
|---|
Credentials() |
Credentials(String accessKey,
String secretKey,
String tenantId) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessKey()
get AccessKey
|
String |
getSecretKey()
get SecretKey
|
String |
getTenantId() |
boolean |
identical(Credentials other) |
void |
setAccessKey(String accessKey) |
void |
setSecretKey(String secretKey) |
void |
setTenantId(String tenantId) |
boolean |
valid() |
public String getAccessKey()
SpasCredentialgetAccessKey in interface SpasCredentialpublic void setAccessKey(String accessKey)
public String getSecretKey()
SpasCredentialgetSecretKey in interface SpasCredentialpublic void setSecretKey(String secretKey)
public String getTenantId()
public void setTenantId(String tenantId)
public boolean valid()
public boolean identical(Credentials other)
Copyright © 2018–2019 Alibaba Group. All rights reserved.