org.jclouds.softlayer.domain
Class Password

java.lang.Object
  extended by org.jclouds.softlayer.domain.Password
All Implemented Interfaces:
Comparable<Password>

public class Password
extends Object
implements Comparable<Password>

Contains a password for a specific software component instance

Author:
Jason King
See Also:

Nested Class Summary
static class Password.Builder
           
 
Constructor Summary
Password(int id, String username, String password)
           
 
Method Summary
static Password.Builder builder()
           
 int compareTo(Password arg0)
           
 boolean equals(Object obj)
           
 int getId()
           
 String getPassword()
           
 String getUsername()
           
 int hashCode()
           
 Password.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Password

public Password(int id,
                String username,
                String password)
Method Detail

builder

public static Password.Builder builder()

compareTo

public int compareTo(Password arg0)
Specified by:
compareTo in interface Comparable<Password>

getId

public int getId()
Returns:
An id number for this specific username/password pair.

getUsername

public String getUsername()
Returns:
The username part of the username/password pair.

getPassword

public String getPassword()
Returns:
The password part of the username/password pair.

toBuilder

public Password.Builder toBuilder()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.