Class GangSchedulingPolicy
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.scheduling.v1alpha2.GangSchedulingPolicy
-
- All Implemented Interfaces:
Editable<GangSchedulingPolicyBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GangSchedulingPolicy extends Object implements Editable<GangSchedulingPolicyBuilder>, KubernetesResource
GangSchedulingPolicy defines the parameters for gang scheduling.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GangSchedulingPolicy()No args constructor for use in serializationGangSchedulingPolicy(Integer minCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GangSchedulingPolicyBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetMinCount()MinCount is the minimum number of pods 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)voidsetMinCount(Integer minCount)MinCount is the minimum number of pods that must be schedulable or scheduled at the same time for the scheduler to admit the entire group.GangSchedulingPolicyBuildertoBuilder()
-
-
-
Constructor Detail
-
GangSchedulingPolicy
public GangSchedulingPolicy()
No args constructor for use in serialization
-
GangSchedulingPolicy
public GangSchedulingPolicy(Integer minCount)
-
-
Method Detail
-
getMinCount
public Integer getMinCount()
MinCount is the minimum number of pods that must be schedulable or scheduled at the same time for the scheduler to admit the entire group. It must be a positive integer.
-
setMinCount
public void setMinCount(Integer minCount)
MinCount is the minimum number of pods 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 GangSchedulingPolicyBuilder edit()
- Specified by:
editin interfaceEditable<GangSchedulingPolicyBuilder>
-
toBuilder
public GangSchedulingPolicyBuilder toBuilder()
-
-