Class PrometheusRuleExcludeConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleExcludeConfig
-
- All Implemented Interfaces:
Editable<PrometheusRuleExcludeConfigBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PrometheusRuleExcludeConfig extends Object implements Editable<PrometheusRuleExcludeConfigBuilder>, KubernetesResource
PrometheusRuleExcludeConfig enables users to configure excluded PrometheusRule names and their namespaces to be ignored while enforcing namespace label for alerts and metrics.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PrometheusRuleExcludeConfig()No args constructor for use in serializationPrometheusRuleExcludeConfig(String ruleName, String ruleNamespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrometheusRuleExcludeConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetRuleName()ruleName defines the name of the excluded PrometheusRule object.StringgetRuleNamespace()ruleNamespace defines the namespace of the excluded PrometheusRule object.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetRuleName(String ruleName)ruleName defines the name of the excluded PrometheusRule object.voidsetRuleNamespace(String ruleNamespace)ruleNamespace defines the namespace of the excluded PrometheusRule object.PrometheusRuleExcludeConfigBuildertoBuilder()
-
-
-
Method Detail
-
getRuleName
public String getRuleName()
ruleName defines the name of the excluded PrometheusRule object.
-
setRuleName
public void setRuleName(String ruleName)
ruleName defines the name of the excluded PrometheusRule object.
-
getRuleNamespace
public String getRuleNamespace()
ruleNamespace defines the namespace of the excluded PrometheusRule object.
-
setRuleNamespace
public void setRuleNamespace(String ruleNamespace)
ruleNamespace defines the namespace of the excluded PrometheusRule object.
-
edit
public PrometheusRuleExcludeConfigBuilder edit()
- Specified by:
editin interfaceEditable<PrometheusRuleExcludeConfigBuilder>
-
toBuilder
public PrometheusRuleExcludeConfigBuilder toBuilder()
-
-