Class BasicLoginInformation

java.lang.Object
com.azure.resourcemanager.azurearcdata.models.BasicLoginInformation

public final class BasicLoginInformation extends Object
Username and password for basic login authentication.
  • Constructor Details

    • BasicLoginInformation

      public BasicLoginInformation()
      Creates an instance of BasicLoginInformation class.
  • Method Details

    • username

      public String username()
      Get the username property: Login username.
      Returns:
      the username value.
    • withUsername

      public BasicLoginInformation withUsername(String username)
      Set the username property: Login username.
      Parameters:
      username - the username value to set.
      Returns:
      the BasicLoginInformation object itself.
    • password

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

      public BasicLoginInformation withPassword(String password)
      Set the password property: Login password.
      Parameters:
      password - the password value to set.
      Returns:
      the BasicLoginInformation object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.