Class JobCredentialInner


  • public class JobCredentialInner
    extends com.azure.core.management.ProxyResource
    A stored credential that can be used by a job to connect to target databases.
    • Constructor Detail

      • JobCredentialInner

        public JobCredentialInner()
    • Method Detail

      • username

        public String username()
        Get the username property: The credential user name.
        Returns:
        the username value.
      • withUsername

        public JobCredentialInner withUsername​(String username)
        Set the username property: The credential user name.
        Parameters:
        username - the username value to set.
        Returns:
        the JobCredentialInner object itself.
      • password

        public String password()
        Get the password property: The credential password.
        Returns:
        the password value.
      • withPassword

        public JobCredentialInner withPassword​(String password)
        Set the password property: The credential password.
        Parameters:
        password - the password value to set.
        Returns:
        the JobCredentialInner object itself.
      • validate

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