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

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

There is a newer version: 3.2.0
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ims20190815.models;

import com.aliyun.tea.*;

public class UpdateUserRequest extends TeaModel {
    /**
     * 

The new description of the RAM user.

*

The description must be 1 to 128 characters in length.

* * example: *

This is a cloud computing engineer.

*/ @NameInMap("NewComments") public String newComments; /** *

The new display name of the RAM user.

*

The name must be 1 to 24 characters in length.

* * example: *

new

*/ @NameInMap("NewDisplayName") public String newDisplayName; /** *

The new email address of the RAM user.

*
*

This parameter is valid only on the China site (aliyun.com).

*
* * example: *

[email protected]

*/ @NameInMap("NewEmail") public String newEmail; /** *

The new mobile phone number of the RAM user.

*

Format: \-\.

*
*

This parameter is valid only on the China site (aliyun.com).

*
* * example: *

86-1868888****

*/ @NameInMap("NewMobilePhone") public String newMobilePhone; /** *

The new logon name of the RAM user.

*

The name is in the format of <username>@<AccountAlias>.onaliyun.com. <username> indicates the name of the RAM user. <AccountAlias>.onaliyun.com indicates the default domain name.

*

The value of UserPrincipalName must be 1 to 128 characters in length and can contain letters, digits, periods (.), hyphens (-), and underscores (_). The value of <username> must be 1 to 64 characters in length.

* * example: *

[email protected]

*/ @NameInMap("NewUserPrincipalName") public String newUserPrincipalName; /** *

The ID of the RAM user.

*
*

You must specify only one of the following parameters: UserPrincipalName and UserId.

*
* * example: *

20732900249392****

*/ @NameInMap("UserId") public String userId; /** *

The logon name of the RAM user.

*
*

You must specify only one of the following parameters: UserPrincipalName and UserId.

*
* * example: *

[email protected]

*/ @NameInMap("UserPrincipalName") public String userPrincipalName; public static UpdateUserRequest build(java.util.Map map) throws Exception { UpdateUserRequest self = new UpdateUserRequest(); return TeaModel.build(map, self); } public UpdateUserRequest setNewComments(String newComments) { this.newComments = newComments; return this; } public String getNewComments() { return this.newComments; } public UpdateUserRequest setNewDisplayName(String newDisplayName) { this.newDisplayName = newDisplayName; return this; } public String getNewDisplayName() { return this.newDisplayName; } public UpdateUserRequest setNewEmail(String newEmail) { this.newEmail = newEmail; return this; } public String getNewEmail() { return this.newEmail; } public UpdateUserRequest setNewMobilePhone(String newMobilePhone) { this.newMobilePhone = newMobilePhone; return this; } public String getNewMobilePhone() { return this.newMobilePhone; } public UpdateUserRequest setNewUserPrincipalName(String newUserPrincipalName) { this.newUserPrincipalName = newUserPrincipalName; return this; } public String getNewUserPrincipalName() { return this.newUserPrincipalName; } public UpdateUserRequest setUserId(String userId) { this.userId = userId; return this; } public String getUserId() { return this.userId; } public UpdateUserRequest setUserPrincipalName(String userPrincipalName) { this.userPrincipalName = userPrincipalName; return this; } public String getUserPrincipalName() { return this.userPrincipalName; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy