org.jclouds.rackspace.cloudidentity.v2_0.domain
Class ApiKeyCredentials
java.lang.Object
org.jclouds.rackspace.cloudidentity.v2_0.domain.ApiKeyCredentials
public class ApiKeyCredentials
- extends Object
ApiKey Credentials
- Author:
- Adrian Cole
- See Also:
- docs
username
protected final String username
apiKey
protected final String apiKey
ApiKeyCredentials
protected ApiKeyCredentials(String username,
String apiKey)
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-2014 The Apache Software Foundation. All Rights Reserved.