Class Credentials.CredentialsBuilder<C extends Credentials,​B extends Credentials.CredentialsBuilder<C,​B>>

  • Enclosing class:
    Credentials

    public abstract static class Credentials.CredentialsBuilder<C extends Credentials,​B extends Credentials.CredentialsBuilder<C,​B>>
    extends Object
    • Constructor Detail

      • CredentialsBuilder

        public CredentialsBuilder()
    • Method Detail

      • userName

        public B userName​(String userName)
        The username.
        Returns:
        this.
      • password

        public B password​(String password)
        The password.
        Returns:
        this.
      • self

        protected abstract B self()
      • build

        public abstract C build()