Class UserAdd.Builder
- java.lang.Object
-
- org.jclouds.scriptbuilder.statements.login.UserAdd.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserAdd.Builder
authorizeRSAPublicKey(String RSAPublicKey)
UserAdd.Builder
authorizeRSAPublicKeys(Iterable<String> RSAPublicKeys)
UserAdd
build()
UserAdd.Builder
cryptFunction(com.google.common.base.Function<String,String> cryptFunction)
UserAdd.Builder
defaultHome(String defaultHome)
See --base-dir in `man useradd`.UserAdd.Builder
fullName(String fullName)
UserAdd.Builder
group(String group)
UserAdd.Builder
groups(Iterable<String> groups)
UserAdd.Builder
home(String home)
See --home in `man useradd`.UserAdd.Builder
installRSAPrivateKey(String RSAPrivateKey)
UserAdd.Builder
login(String login)
the username of the user to add (not the login to use when performing the add)UserAdd.Builder
password(String password)
the password to add for the user (not the password to use when logging in to perform the add)UserAdd.Builder
shell(String shell)
-
-
-
Method Detail
-
cryptFunction
public UserAdd.Builder cryptFunction(com.google.common.base.Function<String,String> cryptFunction)
- See Also:
Sha512Crypt
-
home
public UserAdd.Builder home(String home)
See --home in `man useradd`.
-
defaultHome
public UserAdd.Builder defaultHome(String defaultHome)
See --base-dir in `man useradd`.
-
login
public UserAdd.Builder login(String login)
the username of the user to add (not the login to use when performing the add)
-
password
public UserAdd.Builder password(String password)
the password to add for the user (not the password to use when logging in to perform the add)
-
group
public UserAdd.Builder group(String group)
-
groups
public UserAdd.Builder groups(Iterable<String> groups)
-
installRSAPrivateKey
public UserAdd.Builder installRSAPrivateKey(String RSAPrivateKey)
-
authorizeRSAPublicKey
public UserAdd.Builder authorizeRSAPublicKey(String RSAPublicKey)
-
authorizeRSAPublicKeys
public UserAdd.Builder authorizeRSAPublicKeys(Iterable<String> RSAPublicKeys)
-
shell
public UserAdd.Builder shell(String shell)
-
fullName
public UserAdd.Builder fullName(String fullName)
-
build
public UserAdd build()
-
-