Class AlertmanagerConfiguration
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.AlertmanagerConfiguration
-
- All Implemented Interfaces:
Editable<AlertmanagerConfigurationBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AlertmanagerConfiguration extends Object implements Editable<AlertmanagerConfigurationBuilder>, KubernetesResource
AlertmanagerConfiguration defines the Alertmanager configuration.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlertmanagerConfiguration()No args constructor for use in serializationAlertmanagerConfiguration(AlertmanagerGlobalConfig global, String name, List<SecretOrConfigMap> templates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlertmanagerConfigurationBuilderedit()Map<String,Object>getAdditionalProperties()AlertmanagerGlobalConfiggetGlobal()AlertmanagerConfiguration defines the Alertmanager configuration.StringgetName()name defines the name of the AlertmanagerConfig custom resource which is used to generate the Alertmanager configuration.List<SecretOrConfigMap>getTemplates()templates defines the custom notification templates.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetGlobal(AlertmanagerGlobalConfig global)AlertmanagerConfiguration defines the Alertmanager configuration.voidsetName(String name)name defines the name of the AlertmanagerConfig custom resource which is used to generate the Alertmanager configuration.voidsetTemplates(List<SecretOrConfigMap> templates)templates defines the custom notification templates.AlertmanagerConfigurationBuildertoBuilder()
-
-
-
Constructor Detail
-
AlertmanagerConfiguration
public AlertmanagerConfiguration()
No args constructor for use in serialization
-
AlertmanagerConfiguration
public AlertmanagerConfiguration(AlertmanagerGlobalConfig global, String name, List<SecretOrConfigMap> templates)
-
-
Method Detail
-
getGlobal
public AlertmanagerGlobalConfig getGlobal()
AlertmanagerConfiguration defines the Alertmanager configuration.
-
setGlobal
public void setGlobal(AlertmanagerGlobalConfig global)
AlertmanagerConfiguration defines the Alertmanager configuration.
-
getName
public String getName()
name defines the name of the AlertmanagerConfig custom resource which is used to generate the Alertmanager configuration. It must be defined in the same namespace as the Alertmanager object. The operator will not enforce a `namespace` label for routes and inhibition rules.
-
setName
public void setName(String name)
name defines the name of the AlertmanagerConfig custom resource which is used to generate the Alertmanager configuration. It must be defined in the same namespace as the Alertmanager object. The operator will not enforce a `namespace` label for routes and inhibition rules.
-
getTemplates
public List<SecretOrConfigMap> getTemplates()
templates defines the custom notification templates.
-
setTemplates
public void setTemplates(List<SecretOrConfigMap> templates)
templates defines the custom notification templates.
-
edit
public AlertmanagerConfigurationBuilder edit()
- Specified by:
editin interfaceEditable<AlertmanagerConfigurationBuilder>
-
toBuilder
public AlertmanagerConfigurationBuilder toBuilder()
-
-