Class ImportSourceCredentials

java.lang.Object
com.microsoft.azure.management.containerregistry.ImportSourceCredentials

public class ImportSourceCredentials extends Object
The ImportSourceCredentials model.
  • Constructor Details

    • ImportSourceCredentials

      public ImportSourceCredentials()
  • Method Details

    • username

      public String username()
      Get the username to authenticate with the source registry.
      Returns:
      the username value
    • withUsername

      public ImportSourceCredentials withUsername(String username)
      Set the username to authenticate with the source registry.
      Parameters:
      username - the username value to set
      Returns:
      the ImportSourceCredentials object itself.
    • password

      public String password()
      Get the password used to authenticate with the source registry.
      Returns:
      the password value
    • withPassword

      public ImportSourceCredentials withPassword(String password)
      Set the password used to authenticate with the source registry.
      Parameters:
      password - the password value to set
      Returns:
      the ImportSourceCredentials object itself.