public class UpdateAccessKeyRequest extends AbstractModel
Constructor and Description |
---|
UpdateAccessKeyRequest() |
UpdateAccessKeyRequest(UpdateAccessKeyRequest 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 ID of the specified access key that needs to be updated
|
String |
getStatus()
Get Key status.
|
Long |
getTargetUin()
Get UIN of the specified user.
|
void |
setAccessKeyId(String AccessKeyId)
Set ID of the specified access key that needs to be updated
|
void |
setStatus(String Status)
Set Key status.
|
void |
setTargetUin(Long TargetUin)
Set UIN of the specified user.
|
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 UpdateAccessKeyRequest()
public UpdateAccessKeyRequest(UpdateAccessKeyRequest source)
public String getAccessKeyId()
public void setAccessKeyId(String AccessKeyId)
AccessKeyId
- ID of the specified access key that needs to be updatedpublic String getStatus()
public void setStatus(String Status)
Status
- Key status. Valid values: `Active` (activated), `Inactive` (not activated).public Long getTargetUin()
public void setTargetUin(Long TargetUin)
TargetUin
- UIN of the specified user. If this parameter is left empty, the access key will be updated for the current user by default.Copyright © 2023. All rights reserved.