Class ImportSourceCredentials
java.lang.Object
com.microsoft.azure.management.containerregistry.ImportSourceCredentials
The ImportSourceCredentials model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionpassword()
Get the password used to authenticate with the source registry.username()
Get the username to authenticate with the source registry.withPassword
(String password) Set the password used to authenticate with the source registry.withUsername
(String username) Set the username to authenticate with the source registry.
-
Constructor Details
-
ImportSourceCredentials
public ImportSourceCredentials()
-
-
Method Details
-
username
Get the username to authenticate with the source registry.- Returns:
- the username value
-
withUsername
Set the username to authenticate with the source registry.- Parameters:
username
- the username value to set- Returns:
- the ImportSourceCredentials object itself.
-
password
Get the password used to authenticate with the source registry.- Returns:
- the password value
-
withPassword
Set the password used to authenticate with the source registry.- Parameters:
password
- the password value to set- Returns:
- the ImportSourceCredentials object itself.
-