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.BuilderauthorizeRSAPublicKey(String RSAPublicKey)UserAdd.BuilderauthorizeRSAPublicKeys(Iterable<String> RSAPublicKeys)UserAddbuild()UserAdd.BuildercryptFunction(com.google.common.base.Function<String,String> cryptFunction)UserAdd.BuilderdefaultHome(String defaultHome)See --base-dir in `man useradd`.UserAdd.BuilderfullName(String fullName)UserAdd.Buildergroup(String group)UserAdd.Buildergroups(Iterable<String> groups)UserAdd.Builderhome(String home)See --home in `man useradd`.UserAdd.BuilderinstallRSAPrivateKey(String RSAPrivateKey)UserAdd.Builderlogin(String login)the username of the user to add (not the login to use when performing the add)UserAdd.Builderpassword(String password)the password to add for the user (not the password to use when logging in to perform the add)UserAdd.Buildershell(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()
-
-