src/ServiceManagement/Models/ChangeDeploymentConfigurationOptions.php
public function setMode($mode)
    {
        Validate::isString($mode, 'mode');
        Validate::isTrue(Mode::isValid($mode), Resources::INVALID_CHANGE_MODE_MSG);

        $this->_mode = $mode;
    }
public function setMode($mode)
    {
        Validate::isString($mode, 'mode');
        Validate::isTrue(Mode::isValid($mode), Resources::INVALID_CHANGE_MODE_MSG);

        $this->_mode = $mode;
    }
public function setMode ( $ mode ) { Validate :: isString ( $ mode , 'mode' ) ; Validate :: isTrue ( Mode :: isValid ( $ mode ) , Resources :: INVALID_CHANGE_MODE_MSG ) ; $ this -> _mode = $ mode ; }
Sets mode.

@param string $mode The change mode
Sets mode .