public abstract static class PasswordCredentials.Builder<T extends PasswordCredentials.Builder<T>> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
password |
protected String |
username |
| Constructor and Description |
|---|
PasswordCredentials.Builder() |
| Modifier and Type | Method and Description |
|---|---|
PasswordCredentials |
build() |
T |
fromPasswordCredentials(PasswordCredentials in) |
T |
password(String password) |
protected abstract T |
self() |
T |
username(String username) |
protected abstract T self()
public T username(String username)
PasswordCredentials.getUsername()public T password(String password)
PasswordCredentials.getPassword()public PasswordCredentials build()
public T fromPasswordCredentials(PasswordCredentials in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.