Class Matcher
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1beta1.Matcher
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MatcherBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Matcher extends Object implements io.fabric8.kubernetes.api.builder.Editable<MatcherBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Matcher defines how to match on alert's labels.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatcherBuilderedit()Map<String,Object>getAdditionalProperties()StringgetMatchType()Match operator, one of `=` (equal to), `!StringgetName()Label to match.StringgetValue()Label value to match.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMatchType(String matchType)Match operator, one of `=` (equal to), `!voidsetName(String name)Label to match.voidsetValue(String value)Label value to match.MatcherBuildertoBuilder()
-
-
-
Method Detail
-
getMatchType
public String getMatchType()
Match operator, one of `=` (equal to), `!=` (not equal to), `=~` (regex match) or `!~` (not regex match). Negative operators (`!=` and `!~`) require Alertmanager >= v0.22.0.
-
setMatchType
public void setMatchType(String matchType)
Match operator, one of `=` (equal to), `!=` (not equal to), `=~` (regex match) or `!~` (not regex match). Negative operators (`!=` and `!~`) require Alertmanager >= v0.22.0.
-
getName
public String getName()
Label to match.
-
setName
public void setName(String name)
Label to match.
-
getValue
public String getValue()
Label value to match.
-
setValue
public void setValue(String value)
Label value to match.
-
edit
public MatcherBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MatcherBuilder>
-
toBuilder
public MatcherBuilder toBuilder()
-
-