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

    • SERIALIZED_NAME_SUPPLEMENTAL_GROUPS_POLICY

      public static final String SERIALIZED_NAME_SUPPLEMENTAL_GROUPS_POLICY
      See Also:
    • openapiFields

      public static HashSet<String> openapiFields
    • openapiRequiredFields

      public static HashSet<String> openapiRequiredFields
  • Constructor Details

    • V1NodeFeatures

      public V1NodeFeatures()
  • Method Details

    • supplementalGroupsPolicy

      public V1NodeFeatures supplementalGroupsPolicy(Boolean supplementalGroupsPolicy)
    • getSupplementalGroupsPolicy

      @Nullable public Boolean getSupplementalGroupsPolicy()
      SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.
      Returns:
      supplementalGroupsPolicy
    • setSupplementalGroupsPolicy

      public void setSupplementalGroupsPolicy(Boolean supplementalGroupsPolicy)
    • 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 V1NodeFeatures
    • fromJson

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

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