java.lang.Object
org.jclouds.openstack.trove.v1.domain.User
All Implemented Interfaces:
Comparable<User>

public class User extends Object implements Comparable<User>
An Openstack Trove Database User.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Returns:
      the name of this user. The name is not a unique or even sufficient identifier in some cases.
      See Also:
    • getPassword

      public String getPassword()
      Returns:
      the password for this user.
      See Also:
    • getHost

      public String getHost()
      Returns:
      the host for this user.
      See Also:
    • getIdentifier

      public String getIdentifier()
      Returns:
      a unique identifier for this user. In most cases, this is just the name. If the user is restricted to connections from a specific host, the hostname must be appended to the user name with a "@".
    • getDatabases

      public List<String> getDatabases()
      Returns:
      the databases for this user.
      See Also:
      • invalid reference
        User.Builder#databases(String)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • string

      protected com.google.common.base.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static User.Builder builder()
    • toBuilder

      public User.Builder toBuilder()
    • compareTo

      public int compareTo(User that)
      Specified by:
      compareTo in interface Comparable<User>