Class SqlCredential

  • public abstract class SqlCredential
    extends java.lang.Object
    Contains the login name and password of a Cloud SQL user.

    User must take care not to include the SEPARATOR in property values.

    • Field Detail


        public static final java.lang.Character SEPARATOR
    • Constructor Detail

      • SqlCredential

        public SqlCredential()
    • Method Detail

      • login

        public abstract java.lang.String login()
      • password

        public abstract java.lang.String password()
      • toString

        public final java.lang.String toString()
        toString in class java.lang.Object
      • toFormattedString

        public final java.lang.String toFormattedString()
      • fromFormattedString

        public static SqlCredential fromFormattedString​(java.lang.String sqlCredential)
      • of

        public static SqlCredential of​(java.lang.String login,
                                       java.lang.String password)