Class UsernamePasswordCredentials
java.lang.Object
com.azure.media.videoanalyzer.edge.models.CredentialsBase
com.azure.media.videoanalyzer.edge.models.UsernamePasswordCredentials
Username and password credentials.
-
Constructor Summary
ConstructorDescriptionUsernamePasswordCredentials
(String username, String password) Creates an instance of UsernamePasswordCredentials class. -
Method Summary
Modifier and TypeMethodDescriptionGet the password property: Password to be presented as part of the credentials.Get the username property: Username to be presented as part of the credentials.
-
Constructor Details
-
UsernamePasswordCredentials
Creates an instance of UsernamePasswordCredentials class.- Parameters:
username
- the username value to set.password
- the password value to set.
-
-
Method Details
-
getUsername
Get the username property: Username to be presented as part of the credentials.- Returns:
- the username value.
-
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.
-