Class UsernamePasswordCredentials

java.lang.Object
com.azure.media.videoanalyzer.edge.models.CredentialsBase
com.azure.media.videoanalyzer.edge.models.UsernamePasswordCredentials

public final class UsernamePasswordCredentials extends CredentialsBase
Username and password credentials.
  • Constructor Details

    • UsernamePasswordCredentials

      public UsernamePasswordCredentials(String username, String password)
      Creates an instance of UsernamePasswordCredentials class.
      Parameters:
      username - the username value to set.
      password - the password value to set.
  • Method Details

    • getUsername

      public String getUsername()
      Get the username property: Username to be presented as part of the credentials.
      Returns:
      the username value.
    • getPassword

      public String getPassword()
      Get the password property: Password to be presented as part of the credentials. It is recommended that this value is parameterized as a secret string in order to prevent this value to be returned as part of the resource on API requests.
      Returns:
      the password value.