Modifier and Type | Class and Description |
---|---|
static class |
ApiKeyCredentials.Builder |
Modifier and Type | Field and Description |
---|---|
protected String |
apiKey |
protected String |
username |
Modifier | Constructor and Description |
---|---|
protected |
ApiKeyCredentials(String username,
String apiKey) |
Modifier and Type | Method and Description |
---|---|
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() |
public static ApiKeyCredentials.Builder builder()
public ApiKeyCredentials.Builder toBuilder()
public static ApiKeyCredentials createWithUsernameAndApiKey(String username, String apiKey)
public String getUsername()
public String getApiKey()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.