Class V1alpha1GangSchedulingPolicy
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1GangSchedulingPolicy
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-01-21T21:30:13.305152Z[Etc/UTC]",
comments="Generator version: 7.18.0")
public class V1alpha1GangSchedulingPolicy
extends Object
GangSchedulingPolicy defines the parameters for gang scheduling.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1alpha1GangSchedulingPolicyCreate an instance of V1alpha1GangSchedulingPolicy given an JSON stringMinCount is the minimum number of pods that must be schedulable or scheduled at the same time for the scheduler to admit the entire group.inthashCode()voidsetMinCount(Integer minCount) toJson()Convert an instance of V1alpha1GangSchedulingPolicy to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_MIN_COUNT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha1GangSchedulingPolicy
public V1alpha1GangSchedulingPolicy()
-
-
Method Details
-
minCount
-
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.- Returns:
- minCount
-
setMinCount
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to V1alpha1GangSchedulingPolicy
-
fromJson
Create an instance of V1alpha1GangSchedulingPolicy given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1alpha1GangSchedulingPolicy
- Throws:
IOException- if the JSON string is invalid with respect to V1alpha1GangSchedulingPolicy
-
toJson
Convert an instance of V1alpha1GangSchedulingPolicy to an JSON string- Returns:
- JSON string
-