Class UserAccountCredentials
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.UserAccountCredentials
-
public final class UserAccountCredentials extends Object
Settings for user account that gets created on each on the nodes of a compute.
-
-
Constructor Summary
Constructors Constructor Description UserAccountCredentials()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
adminUsername()
Get the adminUsername property: User name.String
adminUserPassword()
Get the adminUserPassword property: Password.String
adminUserSshPublicKey()
Get the adminUserSshPublicKey property: SSH public key.void
validate()
Validates the instance.UserAccountCredentials
withAdminUsername(String adminUsername)
Set the adminUsername property: User name.UserAccountCredentials
withAdminUserPassword(String adminUserPassword)
Set the adminUserPassword property: Password.UserAccountCredentials
withAdminUserSshPublicKey(String adminUserSshPublicKey)
Set the adminUserSshPublicKey property: SSH public key.
-
-
-
Method Detail
-
adminUsername
public String adminUsername()
Get the adminUsername property: User name. Name of the administrator user account which can be used to SSH to nodes.- Returns:
- the adminUsername value.
-
withAdminUsername
public UserAccountCredentials withAdminUsername(String adminUsername)
Set the adminUsername property: User name. Name of the administrator user account which can be used to SSH to nodes.- Parameters:
adminUsername
- the adminUsername value to set.- Returns:
- the UserAccountCredentials object itself.
-
adminUserSshPublicKey
public String adminUserSshPublicKey()
Get the adminUserSshPublicKey property: SSH public key. SSH public key of the administrator user account.- Returns:
- the adminUserSshPublicKey value.
-
withAdminUserSshPublicKey
public UserAccountCredentials withAdminUserSshPublicKey(String adminUserSshPublicKey)
Set the adminUserSshPublicKey property: SSH public key. SSH public key of the administrator user account.- Parameters:
adminUserSshPublicKey
- the adminUserSshPublicKey value to set.- Returns:
- the UserAccountCredentials object itself.
-
adminUserPassword
public String adminUserPassword()
Get the adminUserPassword property: Password. Password of the administrator user account.- Returns:
- the adminUserPassword value.
-
withAdminUserPassword
public UserAccountCredentials withAdminUserPassword(String adminUserPassword)
Set the adminUserPassword property: Password. Password of the administrator user account.- Parameters:
adminUserPassword
- the adminUserPassword value to set.- Returns:
- the UserAccountCredentials object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-