11 Oct
                
                    2019
                
            
            
                11 Oct
                
                '19
                
            
            
            
        
    
                12:12 p.m.
            
        System currently has 1 DC, 1 cluster, 2 active hosts in cluster and 1 domain. Host1 is SPM, through UI I can set Host2 to SPM, Host1 becomes Non-SPM host. Through the SDK I can use SpmBuilder spmBuilder = new SpmBuilder().priority(7); sysService.hostsService().hostService(host.id()).update().host(host().spm(spmBuilder)).send(); to update host SPM priority. I cannot find a way to use the SDK to change the Host to SPM mode directly, despite using spm().status in a similar manner as above for the priority. How can I achieve this? TIA