Class User.Builder

  • Enclosing class:
    User

    public static class User.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • host

        public User.Builder host​(String host)
        Parameters:
        host - Specifies the host from which a user is allowed to connect to the database. Possible values are a string containing an IPv4 address or "%" to allow connecting from any host. Refer to Section 3.11.1, “User Access Restriction by Host” in the Rackspace Cloud Databases Developer Guide for details. If host is not specified, it defaults to "%".
        Returns:
        The builder object.
        See Also:
        User Access Restriction by Host, User.getHost()
      • build

        public User build()
        Returns:
        A new User object.