
com.aliyun.ims20190815.models.UpdateAccessKeyRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ims20190815 Show documentation
Show all versions of ims20190815 Show documentation
Alibaba Cloud Ims (20190815) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ims20190815.models;
import com.aliyun.tea.*;
public class UpdateAccessKeyRequest extends TeaModel {
/**
* The status of the AccessKey pair. Valid values:
*
* - Active
* - Inactive
*
* This parameter is required.
*
* example:
* Active
*/
@NameInMap("Status")
public String status;
/**
* The AccessKey ID of the AccessKey pair for which you want to modify the status.
* This parameter is required.
*
* example:
* LTAI4GFTgcR8m8cZQDTH****
*/
@NameInMap("UserAccessKeyId")
public String userAccessKeyId;
/**
* The logon name of the RAM user.
* If this parameter is empty, the status of the AccessKey pair for the current user is modified.
*
* example:
*
*/
@NameInMap("UserPrincipalName")
public String userPrincipalName;
public static UpdateAccessKeyRequest build(java.util.Map map) throws Exception {
UpdateAccessKeyRequest self = new UpdateAccessKeyRequest();
return TeaModel.build(map, self);
}
public UpdateAccessKeyRequest setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public UpdateAccessKeyRequest setUserAccessKeyId(String userAccessKeyId) {
this.userAccessKeyId = userAccessKeyId;
return this;
}
public String getUserAccessKeyId() {
return this.userAccessKeyId;
}
public UpdateAccessKeyRequest setUserPrincipalName(String userPrincipalName) {
this.userPrincipalName = userPrincipalName;
return this;
}
public String getUserPrincipalName() {
return this.userPrincipalName;
}
}