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 Summary
Constructors Constructor Description UsernamePasswordCredentials(String username, String password)
Creates an instance of UsernamePasswordCredentials class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPassword()
Get the password property: Password to be presented as part of the credentials.String
getUsername()
Get the username property: Username to be presented as part of the credentials.
-
-
-
Method Detail
-
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.
-
-