org.jclouds.openstack.keystone.v2_0.domain
Class PasswordCredentials

java.lang.Object
  extended by org.jclouds.openstack.keystone.v2_0.domain.PasswordCredentials

public class PasswordCredentials
extends Object

Password Credentials

Author:
Adrian Cole
See Also:

Nested Class Summary
static class PasswordCredentials.Builder<T extends PasswordCredentials.Builder<T>>
           
 
Constructor Summary
protected PasswordCredentials(String username, String password)
           
 
Method Summary
static PasswordCredentials.Builder<?> builder()
           
static PasswordCredentials createWithUsernameAndPassword(String username, String password)
           
 boolean equals(Object obj)
           
 String getPassword()
           
 String getUsername()
           
 int hashCode()
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 PasswordCredentials.Builder<?> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PasswordCredentials

@ConstructorProperties(value={"username","password"})
protected PasswordCredentials(String username,
                                                         String password)
Method Detail

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.