org.jclouds.softlayer.domain
Class Password
java.lang.Object
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:
Password
public Password(int id,
String username,
String password)
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-2011 jclouds. All Rights Reserved.