public Optional < SingularitySlave > getSlave ( String slaveId ) { final Function < String , String > requestUri = ( host ) - > String . format ( SLAVE_DETAIL_FORMAT , getApiBase ( host ) , slaveId ) ; return getSingle ( requestUri , "slave" , slaveId , SingularitySlave . class ) ; }
Retrieve a single slave by ID