Class User.Builder
- java.lang.Object
-
- org.jclouds.openstack.trove.v1.domain.User.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description User
build()
User.Builder
databases(Set<String> databases)
User.Builder
fromUser(User in)
User.Builder
host(String host)
User.Builder
name(String name)
User.Builder
password(String password)
-
-
-
Method Detail
-
name
public User.Builder name(String name)
- Parameters:
name
- The name of this user.- Returns:
- The builder object.
- See Also:
User.getName()
-
password
public User.Builder password(String password)
- Parameters:
name
- The password for this user.- Returns:
- The builder object.
- See Also:
User.getPassword()
-
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()
-
databases
public User.Builder databases(Set<String> databases)
- Parameters:
name
- The databases for this user.- Returns:
- The builder object.
- See Also:
User.getDatabases()
-
build
public User build()
- Returns:
- A new User object.
-
fromUser
public User.Builder fromUser(User in)
-
-