Class ResetPasswordBody
java.lang.Object
com.azure.resourcemanager.labservices.models.ResetPasswordBody
Body of a reset password request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpassword()
Get the password property: The password.username()
Get the username property: The user whose password is being reset.void
validate()
Validates the instance.withPassword
(String password) Set the password property: The password.withUsername
(String username) Set the username property: The user whose password is being reset.
-
Constructor Details
-
ResetPasswordBody
public ResetPasswordBody()
-
-
Method Details
-
username
Get the username property: The user whose password is being reset.- Returns:
- the username value.
-
withUsername
Set the username property: The user whose password is being reset.- Parameters:
username
- the username value to set.- Returns:
- the ResetPasswordBody object itself.
-
password
Get the password property: The password.- Returns:
- the password value.
-
withPassword
Set the password property: The password.- Parameters:
password
- the password value to set.- Returns:
- the ResetPasswordBody object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-