Class V1alpha3PodSchedulingContextStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1alpha3PodSchedulingContextStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-04T19:37:38.574271Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1alpha3PodSchedulingContextStatus
extends Object
PodSchedulingContextStatus describes where resources for the Pod can be allocated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResourceClaimsItem
(V1alpha3ResourceClaimSchedulingStatus resourceClaimsItem) boolean
Create an instance of V1alpha3PodSchedulingContextStatus given an JSON stringResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode.int
hashCode()
resourceClaims
(List<V1alpha3ResourceClaimSchedulingStatus> resourceClaims) void
setResourceClaims
(List<V1alpha3ResourceClaimSchedulingStatus> resourceClaims) toJson()
Convert an instance of V1alpha3PodSchedulingContextStatus to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_RESOURCE_CLAIMS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha3PodSchedulingContextStatus
public V1alpha3PodSchedulingContextStatus()
-
-
Method Details
-
resourceClaims
public V1alpha3PodSchedulingContextStatus resourceClaims(List<V1alpha3ResourceClaimSchedulingStatus> resourceClaims) -
addResourceClaimsItem
public V1alpha3PodSchedulingContextStatus addResourceClaimsItem(V1alpha3ResourceClaimSchedulingStatus resourceClaimsItem) -
getResourceClaims
ResourceClaims describes resource availability for each pod.spec.resourceClaim entry where the corresponding ResourceClaim uses \"WaitForFirstConsumer\" allocation mode.- Returns:
- resourceClaims
-
setResourceClaims
-
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 V1alpha3PodSchedulingContextStatus
-
fromJson
Create an instance of V1alpha3PodSchedulingContextStatus given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1alpha3PodSchedulingContextStatus
- Throws:
IOException
- if the JSON string is invalid with respect to V1alpha3PodSchedulingContextStatus
-
toJson
Convert an instance of V1alpha3PodSchedulingContextStatus to an JSON string- Returns:
- JSON string
-