Class PrometheusRuleExcludeConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.PrometheusRuleExcludeConfig
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PrometheusRuleExcludeConfigBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PrometheusRuleExcludeConfig extends Object implements io.fabric8.kubernetes.api.builder.Editable<PrometheusRuleExcludeConfigBuilder>, io.fabric8.kubernetes.api.model.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()Name of the excluded PrometheusRule object.StringgetRuleNamespace()Namespace of the excluded PrometheusRule object.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetRuleName(String ruleName)Name of the excluded PrometheusRule object.voidsetRuleNamespace(String ruleNamespace)Namespace of the excluded PrometheusRule object.PrometheusRuleExcludeConfigBuildertoBuilder()
-
-
-
Method Detail
-
getRuleName
public String getRuleName()
Name of the excluded PrometheusRule object.
-
setRuleName
public void setRuleName(String ruleName)
Name of the excluded PrometheusRule object.
-
getRuleNamespace
public String getRuleNamespace()
Namespace of the excluded PrometheusRule object.
-
setRuleNamespace
public void setRuleNamespace(String ruleNamespace)
Namespace of the excluded PrometheusRule object.
-
edit
public PrometheusRuleExcludeConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PrometheusRuleExcludeConfigBuilder>
-
toBuilder
public PrometheusRuleExcludeConfigBuilder toBuilder()
-
-