Class TunedMatch
- java.lang.Object
-
- io.fabric8.openshift.api.model.tuned.v1.TunedMatch
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<TunedMatchBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class TunedMatch extends Object implements io.fabric8.kubernetes.api.builder.Editable<TunedMatchBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Rules governing application of a Tuned profile.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TunedMatch()No args constructor for use in serializationTunedMatch(String label, List<TunedMatch> match, String type, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TunedMatchBuilderedit()Map<String,Object>getAdditionalProperties()StringgetLabel()Node or Pod label name.List<TunedMatch>getMatch()Additional rules governing application of the tuned profile connected by logical AND operator.StringgetType()Match type: [node/pod].StringgetValue()Node or Pod label value.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetLabel(String label)Node or Pod label name.voidsetMatch(List<TunedMatch> match)Additional rules governing application of the tuned profile connected by logical AND operator.voidsetType(String type)Match type: [node/pod].voidsetValue(String value)Node or Pod label value.TunedMatchBuildertoBuilder()
-
-
-
Constructor Detail
-
TunedMatch
public TunedMatch()
No args constructor for use in serialization
-
TunedMatch
public TunedMatch(String label, List<TunedMatch> match, String type, String value)
-
-
Method Detail
-
getLabel
public String getLabel()
Node or Pod label name.
-
setLabel
public void setLabel(String label)
Node or Pod label name.
-
getMatch
public List<TunedMatch> getMatch()
Additional rules governing application of the tuned profile connected by logical AND operator.
-
setMatch
public void setMatch(List<TunedMatch> match)
Additional rules governing application of the tuned profile connected by logical AND operator.
-
getType
public String getType()
Match type: [node/pod]. If omitted, "node" is assumed.
-
setType
public void setType(String type)
Match type: [node/pod]. If omitted, "node" is assumed.
-
getValue
public String getValue()
Node or Pod label value. If omitted, the presence of label name is enough to match.
-
setValue
public void setValue(String value)
Node or Pod label value. If omitted, the presence of label name is enough to match.
-
edit
public TunedMatchBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<TunedMatchBuilder>
-
toBuilder
public TunedMatchBuilder toBuilder()
-
-