def METHOD_NAME(self, buildid, state_string):
    validation.verifyType(self.t, 'state_string', state_string,
                          validation.StringValidator())
    b = self.builds.get(buildid)
    if b:
        b['state_string'] = state_string
    return defer.succeed(None)