org.jclouds.openstack.keystone.v2_0.domain
Class PasswordCredentials
java.lang.Object
org.jclouds.openstack.keystone.v2_0.domain.PasswordCredentials
public class PasswordCredentials
- extends Object
Password Credentials
- Author:
- Adrian Cole
- See Also:
username
protected final String username
password
protected final String password
PasswordCredentials
protected PasswordCredentials(String username,
String password)
builder
public static PasswordCredentials.Builder builder()
toBuilder
public PasswordCredentials.Builder toBuilder()
createWithUsernameAndPassword
public static PasswordCredentials createWithUsernameAndPassword(String username,
String password)
getUsername
public String getUsername()
- Returns:
- the username
getPassword
public String getPassword()
- Returns:
- the password
equals
public boolean equals(Object object)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.