Class RequiredUser
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.software.description.RequiredUser
@ApiType("SoftLayer_Software_Description_RequiredUser") public class RequiredUser extends Entity
This class represents a software description's required user
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRequiredUser.Mask -
Field Summary
Fields Modifier and Type Field Description protected StringdefaultPasswordIf the default password is set the user will be created with that password, otherwise a random password is generated.protected booleandefaultPasswordSpecifiedprotected StringusernameIf this software has a required user (such as "root") this string contains it's name.protected booleanusernameSpecified -
Constructor Summary
Constructors Constructor Description RequiredUser() -
Method Summary
Modifier and Type Method Description StringgetDefaultPassword()StringgetUsername()booleanisDefaultPasswordSpecified()booleanisUsernameSpecified()voidsetDefaultPassword(String defaultPassword)voidsetUsername(String username)voidunsetDefaultPassword()voidunsetUsername()
-
Field Details
-
defaultPassword
If the default password is set the user will be created with that password, otherwise a random password is generated. -
defaultPasswordSpecified
protected boolean defaultPasswordSpecified -
username
If this software has a required user (such as "root") this string contains it's name. -
usernameSpecified
protected boolean usernameSpecified
-
-
Constructor Details
-
RequiredUser
public RequiredUser()
-
-
Method Details
-
getDefaultPassword
-
setDefaultPassword
-
isDefaultPasswordSpecified
public boolean isDefaultPasswordSpecified() -
unsetDefaultPassword
public void unsetDefaultPassword() -
getUsername
-
setUsername
-
isUsernameSpecified
public boolean isUsernameSpecified() -
unsetUsername
public void unsetUsername()
-