src/ServiceManagement/Models/UpgradeDeploymentOptions.php
public function setRoleToUpgrade($roleToUpgrade)
    {
        Validate::isString($roleToUpgrade, 'roleToUpgrade');
        Validate::notNullOrEmpty($roleToUpgrade, 'roleToUpgrade');

        $this->_roleToUpgrade = $roleToUpgrade;
    }
public function setRoleToUpgrade($roleToUpgrade)
    {
        Validate::isString($roleToUpgrade, 'roleToUpgrade');
        Validate::notNullOrEmpty($roleToUpgrade, 'roleToUpgrade');

        $this->_roleToUpgrade = $roleToUpgrade;
    }
public function setRoleToUpgrade ( $ roleToUpgrade ) { Validate :: isString ( $ roleToUpgrade , 'roleToUpgrade' ) ; Validate :: notNullOrEmpty ( $ roleToUpgrade , 'roleToUpgrade' ) ; $ this -> _roleToUpgrade = $ roleToUpgrade ; }
Sets the role to upgrade name.

@param string $roleToUpgrade The role to upgrade name
Sets the role to upgrade name .