Class CompositeGangSchedulingPolicy
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.scheduling.v1alpha3.CompositeGangSchedulingPolicy
-
- All Implemented Interfaces:
Editable<CompositeGangSchedulingPolicyBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class CompositeGangSchedulingPolicy extends Object implements Editable<CompositeGangSchedulingPolicyBuilder>, KubernetesResource
CompositeGangSchedulingPolicy indicates that the groups belonging to the composite group should be scheduled using all-or-nothing semantics.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CompositeGangSchedulingPolicy()No args constructor for use in serializationCompositeGangSchedulingPolicy(Integer minGroupCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompositeGangSchedulingPolicyBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetMinGroupCount()minGroupCount is the minimum number of child groups that must be schedulable or scheduled at the same time for the scheduler to admit the entire group.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMinGroupCount(Integer minGroupCount)minGroupCount is the minimum number of child groups that must be schedulable or scheduled at the same time for the scheduler to admit the entire group.CompositeGangSchedulingPolicyBuildertoBuilder()
-
-
-
Constructor Detail
-
CompositeGangSchedulingPolicy
public CompositeGangSchedulingPolicy()
No args constructor for use in serialization
-
CompositeGangSchedulingPolicy
public CompositeGangSchedulingPolicy(Integer minGroupCount)
-
-
Method Detail
-
getMinGroupCount
public Integer getMinGroupCount()
minGroupCount is the minimum number of child groups that must be schedulable or scheduled at the same time for the scheduler to admit the entire group. It must be a positive integer.
-
setMinGroupCount
public void setMinGroupCount(Integer minGroupCount)
minGroupCount is the minimum number of child groups that must be schedulable or scheduled at the same time for the scheduler to admit the entire group. It must be a positive integer.
-
edit
public CompositeGangSchedulingPolicyBuilder edit()
- Specified by:
editin interfaceEditable<CompositeGangSchedulingPolicyBuilder>
-
toBuilder
public CompositeGangSchedulingPolicyBuilder toBuilder()
-
-