public class PasswordCredentials extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PasswordCredentials.Builder<T extends PasswordCredentials.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
PasswordCredentials(String username,
String password) |
Modifier and Type | Method and Description |
---|---|
static PasswordCredentials.Builder<?> |
builder() |
static PasswordCredentials |
createWithUsernameAndPassword(String username,
String password) |
boolean |
equals(Object obj) |
String |
getPassword() |
String |
getUsername() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
PasswordCredentials.Builder<?> |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"username","password"}) protected PasswordCredentials(String username, String password)
public static PasswordCredentials.Builder<?> builder()
public PasswordCredentials.Builder<?> toBuilder()
public static PasswordCredentials createWithUsernameAndPassword(String username, String password)
public String getUsername()
public String getPassword()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2013 jclouds. All Rights Reserved.