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:
PasswordCredentials
@ConstructorProperties(value={"username","password"})
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
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.Objects.ToStringHelper string()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.