com.microsoft.azure.management.graphrbac.PasswordProfile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-graph-rbac Show documentation
Show all versions of azure-mgmt-graph-rbac Show documentation
This package contains Microsoft Azure Graph RBAC Management SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-authorization is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.
/**
* 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;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The password profile associated with a user.
*/
public class PasswordProfile {
/**
* Unmatched properties from the message are deserialized this collection.
*/
@JsonProperty(value = "")
private Map additionalProperties;
/**
* Password.
*/
@JsonProperty(value = "password", required = true)
private String password;
/**
* Whether to force a password change on next login.
*/
@JsonProperty(value = "forceChangePasswordNextLogin")
private Boolean forceChangePasswordNextLogin;
/**
* Get the additionalProperties value.
*
* @return the additionalProperties value
*/
public Map additionalProperties() {
return this.additionalProperties;
}
/**
* Set the additionalProperties value.
*
* @param additionalProperties the additionalProperties value to set
* @return the PasswordProfile object itself.
*/
public PasswordProfile withAdditionalProperties(Map additionalProperties) {
this.additionalProperties = additionalProperties;
return this;
}
/**
* Get the password value.
*
* @return the password value
*/
public String password() {
return this.password;
}
/**
* Set the password value.
*
* @param password the password value to set
* @return the PasswordProfile object itself.
*/
public PasswordProfile withPassword(String password) {
this.password = password;
return this;
}
/**
* Get the forceChangePasswordNextLogin value.
*
* @return the forceChangePasswordNextLogin value
*/
public Boolean forceChangePasswordNextLogin() {
return this.forceChangePasswordNextLogin;
}
/**
* Set the forceChangePasswordNextLogin value.
*
* @param forceChangePasswordNextLogin the forceChangePasswordNextLogin value to set
* @return the PasswordProfile object itself.
*/
public PasswordProfile withForceChangePasswordNextLogin(Boolean forceChangePasswordNextLogin) {
this.forceChangePasswordNextLogin = forceChangePasswordNextLogin;
return this;
}
}