Class V1alpha2PodGroupStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha2PodGroupStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-06-26T22:35:15.319369Z[Etc/UTC]",
comments="Generator version: 7.18.0")
public class V1alpha2PodGroupStatus
extends Object
PodGroupStatus represents information about the status of a pod group.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem(V1Condition conditionsItem) addResourceClaimStatusesItem(V1alpha2PodGroupResourceClaimStatus resourceClaimStatusesItem) conditions(List<V1Condition> conditions) booleanstatic V1alpha2PodGroupStatusCreate an instance of V1alpha2PodGroupStatus given an JSON stringConditions represent the latest observations of the PodGroup's state.Status of resource claims.inthashCode()resourceClaimStatuses(List<V1alpha2PodGroupResourceClaimStatus> resourceClaimStatuses) voidsetConditions(List<V1Condition> conditions) voidsetResourceClaimStatuses(List<V1alpha2PodGroupResourceClaimStatus> resourceClaimStatuses) toJson()Convert an instance of V1alpha2PodGroupStatus 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_CONDITIONS
- See Also:
-
SERIALIZED_NAME_RESOURCE_CLAIM_STATUSES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha2PodGroupStatus
public V1alpha2PodGroupStatus()
-
-
Method Details
-
conditions
-
addConditionsItem
-
getConditions
Conditions represent the latest observations of the PodGroup's state. Known condition types: - \"PodGroupScheduled\": Indicates whether the scheduling requirement has been satisfied. - \"DisruptionTarget\": Indicates whether the PodGroup is about to be terminated due to disruption such as preemption. Known reasons for the PodGroupScheduled condition: - \"Unschedulable\": The PodGroup cannot be scheduled due to resource constraints, affinity/anti-affinity rules, or insufficient capacity for the gang. - \"SchedulerError\": The PodGroup cannot be scheduled due to some internal error that happened during scheduling, for example due to nodeAffinity parsing errors. Known reasons for the DisruptionTarget condition: - \"PreemptionByScheduler\": The PodGroup was preempted by the scheduler to make room for higher-priority PodGroups or Pods.- Returns:
- conditions
-
setConditions
-
resourceClaimStatuses
public V1alpha2PodGroupStatus resourceClaimStatuses(@Nullable List<V1alpha2PodGroupResourceClaimStatus> resourceClaimStatuses) -
addResourceClaimStatusesItem
public V1alpha2PodGroupStatus addResourceClaimStatusesItem(V1alpha2PodGroupResourceClaimStatus resourceClaimStatusesItem) -
getResourceClaimStatuses
Status of resource claims.- Returns:
- resourceClaimStatuses
-
setResourceClaimStatuses
public void setResourceClaimStatuses(@Nullable List<V1alpha2PodGroupResourceClaimStatus> resourceClaimStatuses) -
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 V1alpha2PodGroupStatus
-
fromJson
Create an instance of V1alpha2PodGroupStatus given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1alpha2PodGroupStatus
- Throws:
IOException- if the JSON string is invalid with respect to V1alpha2PodGroupStatus
-
toJson
Convert an instance of V1alpha2PodGroupStatus to an JSON string- Returns:
- JSON string
-