Class V1beta1OpaqueDeviceConfiguration

java.lang.Object
io.kubernetes.client.openapi.models.V1beta1OpaqueDeviceConfiguration

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-05-20T20:47:13.890592Z[Etc/UTC]", comments="Generator version: 7.13.0") public class V1beta1OpaqueDeviceConfiguration extends Object
OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.
  • Field Details

  • Constructor Details

    • V1beta1OpaqueDeviceConfiguration

      public V1beta1OpaqueDeviceConfiguration()
  • Method Details

    • driver

      public V1beta1OpaqueDeviceConfiguration driver(@Nonnull String driver)
    • getDriver

      @Nonnull public String getDriver()
      Driver is used to determine which kubelet plugin needs to be passed these configuration parameters. An admission policy provided by the driver developer could use this to decide whether it needs to validate them. Must be a DNS subdomain and should end with a DNS domain owned by the vendor of the driver.
      Returns:
      driver
    • setDriver

      public void setDriver(@Nonnull String driver)
    • parameters

      public V1beta1OpaqueDeviceConfiguration parameters(@Nonnull Object parameters)
    • getParameters

      @Nonnull public Object getParameters()
      Parameters can contain arbitrary data. It is the responsibility of the driver developer to handle validation and versioning. Typically this includes self-identification and a version (\"kind\" + \"apiVersion\" for Kubernetes types), with conversion between different versions. The length of the raw data must be smaller or equal to 10 Ki.
      Returns:
      parameters
    • setParameters

      public void setParameters(@Nonnull Object parameters)
    • 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 V1beta1OpaqueDeviceConfiguration
    • fromJson

      public static V1beta1OpaqueDeviceConfiguration fromJson(String jsonString) throws IOException
      Create an instance of V1beta1OpaqueDeviceConfiguration given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of V1beta1OpaqueDeviceConfiguration
      Throws:
      IOException - if the JSON string is invalid with respect to V1beta1OpaqueDeviceConfiguration
    • toJson

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