Class V1alpha3OpaqueDeviceConfiguration

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-10-04T19:37:38.574271Z[Etc/UTC]", comments="Generator version: 7.6.0") public class V1alpha3OpaqueDeviceConfiguration extends Object
OpaqueDeviceConfiguration contains configuration parameters for a driver in a format defined by the driver vendor.
  • Field Details

  • Constructor Details

    • V1alpha3OpaqueDeviceConfiguration

      public V1alpha3OpaqueDeviceConfiguration()
  • Method Details

    • driver

      public V1alpha3OpaqueDeviceConfiguration driver(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(String driver)
    • parameters

      public V1alpha3OpaqueDeviceConfiguration parameters(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.
      Returns:
      parameters
    • setParameters

      public void setParameters(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 V1alpha3OpaqueDeviceConfiguration
    • fromJson

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

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