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
           
 
Field Summary
protected  String password
           
protected  String username
           
 
Constructor Summary
protected PasswordCredentials(String username, String password)
           
 
Method Summary
static PasswordCredentials.Builder builder()
           
static PasswordCredentials createWithUsernameAndPassword(String username, String password)
           
 boolean equals(Object object)
           
 String getPassword()
           
 String getUsername()
           
 int hashCode()
           
 PasswordCredentials.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

username

protected final String username

password

protected final String password
Constructor Detail

PasswordCredentials

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

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.