public class ApiKey extends AbstractModel
Constructor and Description |
---|
ApiKey() |
ApiKey(ApiKey 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getAccessKeyId()
Get Created API key ID.
|
String |
getAccessKeySecret()
Get Created API key.
|
String |
getAccessKeyType()
Get Key type.
|
String |
getCreatedTime()
Get Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard.
|
String |
getModifiedTime()
Get Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard.
|
String |
getSecretName()
Get Custom key name.
|
Long |
getStatus()
Get Key status.
|
void |
setAccessKeyId(String AccessKeyId)
Set Created API key ID.
|
void |
setAccessKeySecret(String AccessKeySecret)
Set Created API key.
|
void |
setAccessKeyType(String AccessKeyType)
Set Key type.
|
void |
setCreatedTime(String CreatedTime)
Set Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard.
|
void |
setModifiedTime(String ModifiedTime)
Set Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard.
|
void |
setSecretName(String SecretName)
Set Custom key name.
|
void |
setStatus(Long Status)
Set Key status.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ApiKey()
public ApiKey(ApiKey source)
public String getAccessKeyId()
public void setAccessKeyId(String AccessKeyId)
AccessKeyId
- Created API key ID.public String getAccessKeySecret()
public void setAccessKeySecret(String AccessKeySecret)
AccessKeySecret
- Created API key.public String getAccessKeyType()
public void setAccessKeyType(String AccessKeyType)
AccessKeyType
- Key type. Valid values: auto, manual.public String getSecretName()
public void setSecretName(String SecretName)
SecretName
- Custom key name.public String getModifiedTime()
public void setModifiedTime(String ModifiedTime)
ModifiedTime
- Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.public Long getStatus()
public void setStatus(Long Status)
Status
- Key status. 0: disabled. 1: enabled.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime
- Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.Copyright © 2023. All rights reserved.