org.jclouds.rackspace.cloudidentity.v2_0.domain
Class ApiKeyCredentials

java.lang.Object
  extended by org.jclouds.rackspace.cloudidentity.v2_0.domain.ApiKeyCredentials

public class ApiKeyCredentials
extends Object

ApiKey Credentials

Author:
Adrian Cole
See Also:
docs

Nested Class Summary
static class ApiKeyCredentials.Builder
           
 
Field Summary
protected  String apiKey
           
protected  String username
           
 
Constructor Summary
protected ApiKeyCredentials(String username, String apiKey)
           
 
Method Summary
static ApiKeyCredentials.Builder builder()
           
static ApiKeyCredentials createWithUsernameAndApiKey(String username, String apiKey)
           
 boolean equals(Object object)
           
 String getApiKey()
           
 String getUsername()
           
 int hashCode()
           
 ApiKeyCredentials.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

apiKey

protected final String apiKey
Constructor Detail

ApiKeyCredentials

protected ApiKeyCredentials(String username,
                            String apiKey)
Method Detail

builder

public static ApiKeyCredentials.Builder builder()

toBuilder

public ApiKeyCredentials.Builder toBuilder()

createWithUsernameAndApiKey

public static ApiKeyCredentials createWithUsernameAndApiKey(String username,
                                                            String apiKey)

getUsername

public String getUsername()
Returns:
the username

getApiKey

public String getApiKey()
Returns:
the apiKey

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-2013 The Apache Software Foundation. All Rights Reserved.