UserAccountSettings Class

  • java.lang.Object
    • com.microsoft.azure.management.batchai.UserAccountSettings

public class UserAccountSettings

Settings for user account that gets created on each on the nodes of a cluster.

Method Summary

Modifier and Type Method and Description
String adminUserName()

Get name of the administrator user account which can be used to SSH to nodes.

String adminUserPassword()

Get password of the administrator user account.

String adminUserSshPublicKey()

Get sSH public key of the administrator user account.

UserAccountSettings withAdminUserName(String adminUserName)

Set name of the administrator user account which can be used to SSH to nodes.

UserAccountSettings withAdminUserPassword(String adminUserPassword)

Set password of the administrator user account.

UserAccountSettings withAdminUserSshPublicKey(String adminUserSshPublicKey)

Set sSH public key of the administrator user account.

Method Details

adminUserName

public String adminUserName()

Get name of the administrator user account which can be used to SSH to nodes.

Returns:

the adminUserName value

adminUserPassword

public String adminUserPassword()

Get password of the administrator user account.

Returns:

the adminUserPassword value

adminUserSshPublicKey

public String adminUserSshPublicKey()

Get sSH public key of the administrator user account.

Returns:

the adminUserSshPublicKey value

withAdminUserName

public UserAccountSettings withAdminUserName(String adminUserName)

Set name of the administrator user account which can be used to SSH to nodes.

Parameters:

adminUserName - the adminUserName value to set

Returns:

the UserAccountSettings object itself.

withAdminUserPassword

public UserAccountSettings withAdminUserPassword(String adminUserPassword)

Set password of the administrator user account.

Parameters:

adminUserPassword - the adminUserPassword value to set

Returns:

the UserAccountSettings object itself.

withAdminUserSshPublicKey

public UserAccountSettings withAdminUserSshPublicKey(String adminUserSshPublicKey)

Set sSH public key of the administrator user account.

Parameters:

adminUserSshPublicKey - the adminUserSshPublicKey value to set

Returns:

the UserAccountSettings object itself.

Applies to