org.jclouds.domain
Class Credentials

java.lang.Object
  extended by org.jclouds.domain.Credentials
Direct Known Subclasses:
LoginCredentials

public class Credentials
extends Object

Author:
Adrian Cole

Nested Class Summary
static class Credentials.Builder<T extends Credentials>
           
 
Field Summary
 String credential
           
 String identity
           
static Credentials NO_CREDENTIALS
           
 
Constructor Summary
Credentials(String identity, String credential)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
static Credentials parse(URI uri)
           
 Credentials.Builder<? extends Credentials> toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_CREDENTIALS

public static final Credentials NO_CREDENTIALS

identity

public final String identity

credential

public final String credential
Constructor Detail

Credentials

public Credentials(String identity,
                   String credential)
Method Detail

parse

public static Credentials parse(URI uri)

toBuilder

public Credentials.Builder<? extends Credentials> toBuilder()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2009-2012 jclouds. All Rights Reserved.