org.jclouds.domain
Class Credentials

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

public class Credentials
extends Object

Author:
Adrian Cole

Nested Class Summary
static class Credentials.Builder<T extends Credentials>
           
 
Field Summary
 String credential
           
 String identity
           
 
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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2009-2011 jclouds. All Rights Reserved.