public static class AdminAccess.Builder extends Object
Constructor and Description |
---|
AdminAccess.Builder() |
public AdminAccess.Builder cryptFunction(com.google.common.base.Function<String,String> cryptFunction)
public AdminAccess.Builder adminUsername(String adminUsername)
public AdminAccess.Builder adminFullName(String adminFullName)
public AdminAccess.Builder adminHome(String adminHome)
public AdminAccess.Builder adminPassword(String adminPassword)
public AdminAccess.Builder loginPassword(String loginPassword)
public AdminAccess.Builder lockSsh(boolean lockSsh)
public AdminAccess.Builder resetLoginPassword(boolean resetLoginPassword)
public AdminAccess.Builder authorizeAdminPublicKey(boolean authorizeAdminPublicKey)
public AdminAccess.Builder installAdminPrivateKey(boolean installAdminPrivateKey)
public AdminAccess.Builder grantSudoToAdminUser(boolean grantSudoToAdminUser)
public AdminAccess.Builder adminPublicKey(File adminPublicKey)
public AdminAccess.Builder adminPublicKey(String adminPublicKey)
public AdminAccess.Builder adminPrivateKey(File adminPrivateKey)
public AdminAccess.Builder adminPrivateKey(String adminPrivateKey)
public AdminAccess.Builder from(AdminAccessBuilderSpec spec)
public AdminAccess.Builder from(String spec)
public AdminAccess build()
protected AdminAccess.Config buildConfig()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.