Class UserAccountCredentials


  • public final class UserAccountCredentials
    extends Object
    Settings for user account that gets created on each on the nodes of a compute.
    • Constructor Detail

      • UserAccountCredentials

        public UserAccountCredentials()
    • 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.