Class V1alpha1PodGroup
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha1PodGroup
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-01-21T21:30:13.305152Z[Etc/UTC]",
comments="Generator version: 7.18.0")
public class V1alpha1PodGroup
extends Object
PodGroup represents a set of pods with a common scheduling policy.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1alpha1PodGroupCreate an instance of V1alpha1PodGroup given an JSON stringgetName()Name is a unique identifier for the PodGroup within the Workload.Get policyinthashCode()policy(V1alpha1PodGroupPolicy policy) voidvoidsetPolicy(V1alpha1PodGroupPolicy policy) toJson()Convert an instance of V1alpha1PodGroup 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_NAME
- See Also:
-
SERIALIZED_NAME_POLICY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha1PodGroup
public V1alpha1PodGroup()
-
-
Method Details
-
name
-
getName
Name is a unique identifier for the PodGroup within the Workload. It must be a DNS label. This field is immutable.- Returns:
- name
-
setName
-
policy
-
getPolicy
Get policy- Returns:
- policy
-
setPolicy
-
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 V1alpha1PodGroup
-
fromJson
Create an instance of V1alpha1PodGroup given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1alpha1PodGroup
- Throws:
IOException- if the JSON string is invalid with respect to V1alpha1PodGroup
-
toJson
Convert an instance of V1alpha1PodGroup to an JSON string- Returns:
- JSON string
-