Class MicrosoftGraphPasswordProfile
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPasswordProfile
-
public final class MicrosoftGraphPasswordProfile extends Object
passwordProfile.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphPasswordProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: passwordProfile.Boolean
forceChangePasswordNextSignIn()
Get the forceChangePasswordNextSignIn property: true if the user must change her password on the next login; otherwise false.Boolean
forceChangePasswordNextSignInWithMfa()
Get the forceChangePasswordNextSignInWithMfa property: If true, at next sign-in, the user must perform a multi-factor authentication (MFA) before being forced to change their password.String
password()
Get the password property: The password for the user.void
validate()
Validates the instance.MicrosoftGraphPasswordProfile
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: passwordProfile.MicrosoftGraphPasswordProfile
withForceChangePasswordNextSignIn(Boolean forceChangePasswordNextSignIn)
Set the forceChangePasswordNextSignIn property: true if the user must change her password on the next login; otherwise false.MicrosoftGraphPasswordProfile
withForceChangePasswordNextSignInWithMfa(Boolean forceChangePasswordNextSignInWithMfa)
Set the forceChangePasswordNextSignInWithMfa property: If true, at next sign-in, the user must perform a multi-factor authentication (MFA) before being forced to change their password.MicrosoftGraphPasswordProfile
withPassword(String password)
Set the password property: The password for the user.
-
-
-
Method Detail
-
forceChangePasswordNextSignIn
public Boolean forceChangePasswordNextSignIn()
Get the forceChangePasswordNextSignIn property: true if the user must change her password on the next login; otherwise false.- Returns:
- the forceChangePasswordNextSignIn value.
-
withForceChangePasswordNextSignIn
public MicrosoftGraphPasswordProfile withForceChangePasswordNextSignIn(Boolean forceChangePasswordNextSignIn)
Set the forceChangePasswordNextSignIn property: true if the user must change her password on the next login; otherwise false.- Parameters:
forceChangePasswordNextSignIn
- the forceChangePasswordNextSignIn value to set.- Returns:
- the MicrosoftGraphPasswordProfile object itself.
-
forceChangePasswordNextSignInWithMfa
public Boolean forceChangePasswordNextSignInWithMfa()
Get the forceChangePasswordNextSignInWithMfa property: If true, at next sign-in, the user must perform a multi-factor authentication (MFA) before being forced to change their password. The behavior is identical to forceChangePasswordNextSignIn except that the user is required to first perform a multi-factor authentication before password change. After a password change, this property will be automatically reset to false. If not set, default is false.- Returns:
- the forceChangePasswordNextSignInWithMfa value.
-
withForceChangePasswordNextSignInWithMfa
public MicrosoftGraphPasswordProfile withForceChangePasswordNextSignInWithMfa(Boolean forceChangePasswordNextSignInWithMfa)
Set the forceChangePasswordNextSignInWithMfa property: If true, at next sign-in, the user must perform a multi-factor authentication (MFA) before being forced to change their password. The behavior is identical to forceChangePasswordNextSignIn except that the user is required to first perform a multi-factor authentication before password change. After a password change, this property will be automatically reset to false. If not set, default is false.- Parameters:
forceChangePasswordNextSignInWithMfa
- the forceChangePasswordNextSignInWithMfa value to set.- Returns:
- the MicrosoftGraphPasswordProfile object itself.
-
password
public String password()
Get the password property: The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required.- Returns:
- the password value.
-
withPassword
public MicrosoftGraphPasswordProfile withPassword(String password)
Set the password property: The password for the user. This property is required when a user is created. It can be updated, but the user will be required to change the password on the next login. The password must satisfy minimum requirements as specified by the user’s passwordPolicies property. By default, a strong password is required.- Parameters:
password
- the password value to set.- Returns:
- the MicrosoftGraphPasswordProfile object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: passwordProfile.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphPasswordProfile withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: passwordProfile.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphPasswordProfile object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-