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.
  • Field Details

  • Constructor Details

    • V1PodSchedulingGroup

      public V1PodSchedulingGroup()
  • Method Details

    • podGroupName

      public V1PodSchedulingGroup podGroupName(@Nullable String podGroupName)
    • getPodGroupName

      @Nullable public String 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

      public void setPodGroupName(@Nullable String podGroupName)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static V1PodSchedulingGroup fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of V1PodSchedulingGroup to an JSON string
      Returns:
      JSON string