Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.batchai;
import com.fasterxml.jackson.annotation.JsonProperty;
Settings for user account that gets created on each on the nodes of a
cluster.
/**
* Settings for user account that gets created on each on the nodes of a
* cluster.
*/
public class UserAccountSettings {
User name.
Name of the administrator user account which can be used to SSH to
nodes.
/**
* User name.
* Name of the administrator user account which can be used to SSH to
* nodes.
*/
@JsonProperty(value = "adminUserName", required = true)
private String adminUserName;
SSH public key.
SSH public key of the administrator user account.
/**
* SSH public key.
* SSH public key of the administrator user account.
*/
@JsonProperty(value = "adminUserSshPublicKey")
private String adminUserSshPublicKey;
Password.
Password of the administrator user account.
/**
* Password.
* Password of the administrator user account.
*/
@JsonProperty(value = "adminUserPassword")
private String adminUserPassword;
Get name of the administrator user account which can be used to SSH to nodes.
Returns: the adminUserName value
/**
* Get name of the administrator user account which can be used to SSH to nodes.
*
* @return the adminUserName value
*/
public String adminUserName() {
return this.adminUserName;
}
Set name of the administrator user account which can be used to SSH to nodes.
Params: - adminUserName – the adminUserName value to set
Returns: the UserAccountSettings object itself.
/**
* Set name of the administrator user account which can be used to SSH to nodes.
*
* @param adminUserName the adminUserName value to set
* @return the UserAccountSettings object itself.
*/
public UserAccountSettings withAdminUserName(String adminUserName) {
this.adminUserName = adminUserName;
return this;
}
Get sSH public key of the administrator user account.
Returns: the adminUserSshPublicKey value
/**
* Get sSH public key of the administrator user account.
*
* @return the adminUserSshPublicKey value
*/
public String adminUserSshPublicKey() {
return this.adminUserSshPublicKey;
}
Set sSH public key of the administrator user account.
Params: - adminUserSshPublicKey – the adminUserSshPublicKey value to set
Returns: the UserAccountSettings object itself.
/**
* Set sSH public key of the administrator user account.
*
* @param adminUserSshPublicKey the adminUserSshPublicKey value to set
* @return the UserAccountSettings object itself.
*/
public UserAccountSettings withAdminUserSshPublicKey(String adminUserSshPublicKey) {
this.adminUserSshPublicKey = adminUserSshPublicKey;
return this;
}
Get password of the administrator user account.
Returns: the adminUserPassword value
/**
* Get password of the administrator user account.
*
* @return the adminUserPassword value
*/
public String adminUserPassword() {
return this.adminUserPassword;
}
Set password of the administrator user account.
Params: - adminUserPassword – the adminUserPassword value to set
Returns: the UserAccountSettings object itself.
/**
* Set password of the administrator user account.
*
* @param adminUserPassword the adminUserPassword value to set
* @return the UserAccountSettings object itself.
*/
public UserAccountSettings withAdminUserPassword(String adminUserPassword) {
this.adminUserPassword = adminUserPassword;
return this;
}
}