Class AlertmanagerConfiguration
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.AlertmanagerConfiguration
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AlertmanagerConfigurationBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AlertmanagerConfiguration extends Object implements io.fabric8.kubernetes.api.builder.Editable<AlertmanagerConfigurationBuilder>, io.fabric8.kubernetes.api.model.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()The name of the AlertmanagerConfig resource which is used to generate the Alertmanager configuration.List<SecretOrConfigMap>getTemplates()Custom notification templates.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetGlobal(AlertmanagerGlobalConfig global)AlertmanagerConfiguration defines the Alertmanager configuration.voidsetName(String name)The name of the AlertmanagerConfig resource which is used to generate the Alertmanager configuration.voidsetTemplates(List<SecretOrConfigMap> templates)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()
The name of the AlertmanagerConfig 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)
The name of the AlertmanagerConfig 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()
Custom notification templates.
-
setTemplates
public void setTemplates(List<SecretOrConfigMap> templates)
Custom notification templates.
-
edit
public AlertmanagerConfigurationBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AlertmanagerConfigurationBuilder>
-
toBuilder
public AlertmanagerConfigurationBuilder toBuilder()
-
-