Package io.fabric8.kubernetes.api.model
Class PreferredSchedulingTerm
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.PreferredSchedulingTerm
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PreferredSchedulingTermBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PreferredSchedulingTerm extends Object implements io.fabric8.kubernetes.api.builder.Editable<PreferredSchedulingTermBuilder>, KubernetesResource- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PreferredSchedulingTerm()No args constructor for use in serializationPreferredSchedulingTerm(NodeSelectorTerm preference, Integer weight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreferredSchedulingTermBuilderedit()Map<String,Object>getAdditionalProperties()NodeSelectorTermgetPreference()IntegergetWeight()voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetPreference(NodeSelectorTerm preference)voidsetWeight(Integer weight)PreferredSchedulingTermBuildertoBuilder()
-
-
-
Constructor Detail
-
PreferredSchedulingTerm
public PreferredSchedulingTerm()
No args constructor for use in serialization
-
PreferredSchedulingTerm
public PreferredSchedulingTerm(NodeSelectorTerm preference, Integer weight)
-
-
Method Detail
-
getPreference
public NodeSelectorTerm getPreference()
-
setPreference
public void setPreference(NodeSelectorTerm preference)
-
getWeight
public Integer getWeight()
-
setWeight
public void setWeight(Integer weight)
-
edit
public PreferredSchedulingTermBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PreferredSchedulingTermBuilder>
-
toBuilder
public PreferredSchedulingTermBuilder toBuilder()
-
-