Class TunedRecommend
- java.lang.Object
-
- io.fabric8.openshift.api.model.tuned.v1.TunedRecommend
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<TunedRecommendBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class TunedRecommend extends Object implements io.fabric8.kubernetes.api.builder.Editable<TunedRecommendBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Selection logic for a single Tuned profile.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TunedRecommend()No args constructor for use in serializationTunedRecommend(Map<String,String> machineConfigLabels, List<TunedMatch> match, OperandConfig operand, Long priority, String profile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TunedRecommendBuilderedit()Map<String,Object>getAdditionalProperties()Map<String,String>getMachineConfigLabels()MachineConfigLabels specifies the labels for a MachineConfig.List<TunedMatch>getMatch()Rules governing application of a Tuned profile connected by logical OR operator.OperandConfiggetOperand()Selection logic for a single Tuned profile.LonggetPriority()Tuned profile priority.StringgetProfile()Name of the Tuned profile to recommend.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMachineConfigLabels(Map<String,String> machineConfigLabels)MachineConfigLabels specifies the labels for a MachineConfig.voidsetMatch(List<TunedMatch> match)Rules governing application of a Tuned profile connected by logical OR operator.voidsetOperand(OperandConfig operand)Selection logic for a single Tuned profile.voidsetPriority(Long priority)Tuned profile priority.voidsetProfile(String profile)Name of the Tuned profile to recommend.TunedRecommendBuildertoBuilder()
-
-
-
Constructor Detail
-
TunedRecommend
public TunedRecommend()
No args constructor for use in serialization
-
TunedRecommend
public TunedRecommend(Map<String,String> machineConfigLabels, List<TunedMatch> match, OperandConfig operand, Long priority, String profile)
-
-
Method Detail
-
getMachineConfigLabels
public Map<String,String> getMachineConfigLabels()
MachineConfigLabels specifies the labels for a MachineConfig. The MachineConfig is created automatically to apply additional host settings (e.g. kernel boot parameters) profile 'Profile' needs and can only be applied by creating a MachineConfig. This involves finding all MachineConfigPools with machineConfigSelector matching the MachineConfigLabels and setting the profile 'Profile' on all nodes that match the MachineConfigPools' nodeSelectors.
-
setMachineConfigLabels
public void setMachineConfigLabels(Map<String,String> machineConfigLabels)
MachineConfigLabels specifies the labels for a MachineConfig. The MachineConfig is created automatically to apply additional host settings (e.g. kernel boot parameters) profile 'Profile' needs and can only be applied by creating a MachineConfig. This involves finding all MachineConfigPools with machineConfigSelector matching the MachineConfigLabels and setting the profile 'Profile' on all nodes that match the MachineConfigPools' nodeSelectors.
-
getMatch
public List<TunedMatch> getMatch()
Rules governing application of a Tuned profile connected by logical OR operator.
-
setMatch
public void setMatch(List<TunedMatch> match)
Rules governing application of a Tuned profile connected by logical OR operator.
-
getOperand
public OperandConfig getOperand()
Selection logic for a single Tuned profile.
-
setOperand
public void setOperand(OperandConfig operand)
Selection logic for a single Tuned profile.
-
getPriority
public Long getPriority()
Tuned profile priority. Highest priority is 0.
-
setPriority
public void setPriority(Long priority)
Tuned profile priority. Highest priority is 0.
-
getProfile
public String getProfile()
Name of the Tuned profile to recommend.
-
setProfile
public void setProfile(String profile)
Name of the Tuned profile to recommend.
-
edit
public TunedRecommendBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<TunedRecommendBuilder>
-
toBuilder
public TunedRecommendBuilder toBuilder()
-
-