Class ImportSourceCredentials


  • public final class ImportSourceCredentials
    extends Object
    The ImportSourceCredentials model.
    • Constructor Detail

      • ImportSourceCredentials

        public ImportSourceCredentials()
    • Method Detail

      • username

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

        public ImportSourceCredentials withUsername​(String username)
        Set the username property: 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 property: The password used to authenticate with the source registry.
        Returns:
        the password value.
      • withPassword

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

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.