Class V1NodeFeatures
java.lang.Object
io.kubernetes.client.openapi.models.V1NodeFeatures
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1NodeFeatures
extends Object
NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1NodeFeatures
Create an instance of V1NodeFeatures given an JSON stringSupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.int
hashCode()
void
setSupplementalGroupsPolicy
(Boolean supplementalGroupsPolicy) supplementalGroupsPolicy
(Boolean supplementalGroupsPolicy) toJson()
Convert an instance of V1NodeFeatures 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_SUPPLEMENTAL_GROUPS_POLICY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1NodeFeatures
public V1NodeFeatures()
-
-
Method Details
-
supplementalGroupsPolicy
-
getSupplementalGroupsPolicy
SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.- Returns:
- supplementalGroupsPolicy
-
setSupplementalGroupsPolicy
-
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 V1NodeFeatures
-
fromJson
Create an instance of V1NodeFeatures given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1NodeFeatures
- Throws:
IOException
- if the JSON string is invalid with respect to V1NodeFeatures
-
toJson
Convert an instance of V1NodeFeatures to an JSON string- Returns:
- JSON string
-