Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.graphrbac.implementation;
import com.microsoft.azure.management.graphrbac.PasswordProfile;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.azure.management.graphrbac.UserBase;
Request parameters for updating an existing work or school account user.
/**
* Request parameters for updating an existing work or school account user.
*/
public class UserUpdateParametersInner extends UserBase {
Whether the account is enabled.
/**
* Whether the account is enabled.
*/
@JsonProperty(value = "accountEnabled")
private Boolean accountEnabled;
The display name of the user.
/**
* The display name of the user.
*/
@JsonProperty(value = "displayName")
private String displayName;
The password profile of the user.
/**
* The password profile of the user.
*/
@JsonProperty(value = "passwordProfile")
private PasswordProfile passwordProfile;
The user principal name (someuser@contoso.com). It must contain one of
the verified domains for the tenant.
/**
* The user principal name (someuser@contoso.com). It must contain one of
* the verified domains for the tenant.
*/
@JsonProperty(value = "userPrincipalName")
private String userPrincipalName;
The mail alias for the user.
/**
* The mail alias for the user.
*/
@JsonProperty(value = "mailNickname")
private String mailNickname;
Get the accountEnabled value.
Returns: the accountEnabled value
/**
* Get the accountEnabled value.
*
* @return the accountEnabled value
*/
public Boolean accountEnabled() {
return this.accountEnabled;
}
Set the accountEnabled value.
Params: - accountEnabled – the accountEnabled value to set
Returns: the UserUpdateParametersInner object itself.
/**
* Set the accountEnabled value.
*
* @param accountEnabled the accountEnabled value to set
* @return the UserUpdateParametersInner object itself.
*/
public UserUpdateParametersInner withAccountEnabled(Boolean accountEnabled) {
this.accountEnabled = accountEnabled;
return this;
}
Get the displayName value.
Returns: the displayName value
/**
* Get the displayName value.
*
* @return the displayName value
*/
public String displayName() {
return this.displayName;
}
Set the displayName value.
Params: - displayName – the displayName value to set
Returns: the UserUpdateParametersInner object itself.
/**
* Set the displayName value.
*
* @param displayName the displayName value to set
* @return the UserUpdateParametersInner object itself.
*/
public UserUpdateParametersInner withDisplayName(String displayName) {
this.displayName = displayName;
return this;
}
Get the passwordProfile value.
Returns: the passwordProfile value
/**
* Get the passwordProfile value.
*
* @return the passwordProfile value
*/
public PasswordProfile passwordProfile() {
return this.passwordProfile;
}
Set the passwordProfile value.
Params: - passwordProfile – the passwordProfile value to set
Returns: the UserUpdateParametersInner object itself.
/**
* Set the passwordProfile value.
*
* @param passwordProfile the passwordProfile value to set
* @return the UserUpdateParametersInner object itself.
*/
public UserUpdateParametersInner withPasswordProfile(PasswordProfile passwordProfile) {
this.passwordProfile = passwordProfile;
return this;
}
Get the userPrincipalName value.
Returns: the userPrincipalName value
/**
* Get the userPrincipalName value.
*
* @return the userPrincipalName value
*/
public String userPrincipalName() {
return this.userPrincipalName;
}
Set the userPrincipalName value.
Params: - userPrincipalName – the userPrincipalName value to set
Returns: the UserUpdateParametersInner object itself.
/**
* Set the userPrincipalName value.
*
* @param userPrincipalName the userPrincipalName value to set
* @return the UserUpdateParametersInner object itself.
*/
public UserUpdateParametersInner withUserPrincipalName(String userPrincipalName) {
this.userPrincipalName = userPrincipalName;
return this;
}
Get the mailNickname value.
Returns: the mailNickname value
/**
* Get the mailNickname value.
*
* @return the mailNickname value
*/
public String mailNickname() {
return this.mailNickname;
}
Set the mailNickname value.
Params: - mailNickname – the mailNickname value to set
Returns: the UserUpdateParametersInner object itself.
/**
* Set the mailNickname value.
*
* @param mailNickname the mailNickname value to set
* @return the UserUpdateParametersInner object itself.
*/
public UserUpdateParametersInner withMailNickname(String mailNickname) {
this.mailNickname = mailNickname;
return this;
}
}