All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.ims20190815.models.UpdateAccessKeyRequest Maven / Gradle / Ivy

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: *

test@example.onaliyun.com

*/ @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; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy