Class AlertingSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.AlertingSpec
-
- All Implemented Interfaces:
Editable<AlertingSpecBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AlertingSpec extends Object implements Editable<AlertingSpecBuilder>, KubernetesResource
AlertingSpec defines parameters for alerting configuration of Prometheus servers.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlertingSpec()No args constructor for use in serializationAlertingSpec(List<AlertmanagerEndpoints> alertmanagers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertingSpecBuilderedit()Map<String,Object>getAdditionalProperties()List<AlertmanagerEndpoints>getAlertmanagers()alertmanagers endpoints where Prometheus should send alerts to.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAlertmanagers(List<AlertmanagerEndpoints> alertmanagers)alertmanagers endpoints where Prometheus should send alerts to.AlertingSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
AlertingSpec
public AlertingSpec()
No args constructor for use in serialization
-
AlertingSpec
public AlertingSpec(List<AlertmanagerEndpoints> alertmanagers)
-
-
Method Detail
-
getAlertmanagers
public List<AlertmanagerEndpoints> getAlertmanagers()
alertmanagers endpoints where Prometheus should send alerts to.
-
setAlertmanagers
public void setAlertmanagers(List<AlertmanagerEndpoints> alertmanagers)
alertmanagers endpoints where Prometheus should send alerts to.
-
edit
public AlertingSpecBuilder edit()
- Specified by:
editin interfaceEditable<AlertingSpecBuilder>
-
toBuilder
public AlertingSpecBuilder toBuilder()
-
-