Class ResetPasswordBody

java.lang.Object
com.azure.resourcemanager.labservices.models.ResetPasswordBody

public final class ResetPasswordBody extends Object
Body of a reset password request.
  • Constructor Details

    • ResetPasswordBody

      public ResetPasswordBody()
  • Method Details

    • username

      public String username()
      Get the username property: The user whose password is being reset.
      Returns:
      the username value.
    • withUsername

      public ResetPasswordBody withUsername(String username)
      Set the username property: The user whose password is being reset.
      Parameters:
      username - the username value to set.
      Returns:
      the ResetPasswordBody object itself.
    • password

      public String password()
      Get the password property: The password.
      Returns:
      the password value.
    • withPassword

      public ResetPasswordBody withPassword(String password)
      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.