Class V1PodSchedulingGroup
java.lang.Object
io.kubernetes.client.openapi.models.V1PodSchedulingGroup
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-06-26T22:35:15.319369Z[Etc/UTC]",
comments="Generator version: 7.18.0")
public class V1PodSchedulingGroup
extends Object
PodSchedulingGroup identifies the runtime scheduling group instance that a Pod belongs to. The scheduler uses this information to apply workload-aware scheduling semantics. Exactly one field must be specified.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1PodSchedulingGroupCreate an instance of V1PodSchedulingGroup given an JSON stringPodGroupName specifies the name of the standalone PodGroup object that represents the runtime instance of this group.inthashCode()podGroupName(String podGroupName) voidsetPodGroupName(String podGroupName) toJson()Convert an instance of V1PodSchedulingGroup 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_POD_GROUP_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1PodSchedulingGroup
public V1PodSchedulingGroup()
-
-
Method Details
-
podGroupName
-
getPodGroupName
PodGroupName specifies the name of the standalone PodGroup object that represents the runtime instance of this group. Must be a DNS subdomain.- Returns:
- podGroupName
-
setPodGroupName
-
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 V1PodSchedulingGroup
-
fromJson
Create an instance of V1PodSchedulingGroup given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1PodSchedulingGroup
- Throws:
IOException- if the JSON string is invalid with respect to V1PodSchedulingGroup
-
toJson
Convert an instance of V1PodSchedulingGroup to an JSON string- Returns:
- JSON string
-