// SetOk sets the global health status of all plugin configured in this server.
13840
func (h *health) SetOk(ok bool) {
	h.Lock()
	defer h.Unlock()
	h.ok = ok
}
795773
func (t *Tracker) setTaskHealth(healthy, terminal bool) {
	t.l.Lock()
	defer t.l.Unlock()
	t.tasksHealthy = healthy

	// If we are marked healthy but we also require Consul to be healthy and it
	// isn't yet, return, unless the task is terminal
	requireConsul := t.useChecks && t.consulCheckCount > 0
	if !terminal && healthy && requireConsul && !t.checksHealthy {
		return
	}

	select {
	case t.healthy <- healthy:
	default:
	}

	// Shutdown the tracker
	t.cancelFn()
}
1262393
func (m *Mux) SetStack(stack []plugin.Plugin) {
	m.Middleware.SetStack(stack)
}
676114
func (s *Cluster) SetStatus(v *ClusterStatus) *Cluster {
	s.Status = v
	return s
}
391208
func (s *PutIntentInput) SetDialogCodeHook(v *CodeHook) *PutIntentInput {
	s.DialogCodeHook = v
	return s
}
694113
func (s *CreateClassifierInput) SetGrokClassifier(v *CreateGrokClassifierRequest) *CreateClassifierInput {
	s.GrokClassifier = v
	return s
}
330358
func (s *PutIntentOutput) SetDialogCodeHook(v *CodeHook) *PutIntentOutput {
	s.DialogCodeHook = v
	return s
}
237935
func (s *MapFilter) SetKey(v string) *MapFilter {
	s.Key = &v
	return s
}
313321
func (bsh *BufferedServerHeader) SetStatus(statusCode int) {
	if bsh.released {
		bsh.original.SetStatus(statusCode)
	} else {
		bsh.status = statusCode
	}
}
141406
func (s *UpdateInstanceInput) SetOs(v string) *UpdateInstanceInput {
	s.Os = &v
	return s
}
295487
func (s *CreateInstanceInput) SetOs(v string) *CreateInstanceInput {
	s.Os = &v
	return s
}
1304783
func (s *CreateIntentVersionOutput) SetDialogCodeHook(v *CodeHook) *CreateIntentVersionOutput {
	s.DialogCodeHook = v
	return s
}
928889
func (s *Member) SetStatus(v string) *Member {
	s.Status = &v
	return s
}
1284168
func (h *HealthCheck) SetPort(i int) *HealthCheck {
	h.Port = &i
	return h
}
618867
func (ctx *ContextRelation) SetStatus(status relation.Status) error {
	return ctx.ru.Relation().SetStatus(status)
}
775113
func (s *ConditionCheck) SetKey(v map[string]*AttributeValue) *ConditionCheck {
	s.Key = v
	return s
}
344393
func (s *Classifier) SetGrokClassifier(v *GrokClassifier) *Classifier {
	s.GrokClassifier = v
	return s
}