Class V1alpha2VendorParameters

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-04-23T13:45:09.091597Z[Etc/UTC]") public class V1alpha2VendorParameters extends Object
VendorParameters are opaque parameters for one particular driver.
  • Field Details

  • Constructor Details

    • V1alpha2VendorParameters

      public V1alpha2VendorParameters()
  • Method Details

    • driverName

      public V1alpha2VendorParameters driverName(String driverName)
    • getDriverName

      @Nullable public String getDriverName()
      DriverName is the name used by the DRA driver kubelet plugin.
      Returns:
      driverName
    • setDriverName

      public void setDriverName(String driverName)
    • parameters

      public V1alpha2VendorParameters parameters(Object parameters)
    • getParameters

      @Nullable public Object getParameters()
      Parameters can be arbitrary setup parameters. They are ignored while allocating a claim.
      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
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      Validates the JSON Object and throws an exception if issues found
      Parameters:
      jsonObj - JSON Object
      Throws:
      IOException - if the JSON Object is invalid with respect to V1alpha2VendorParameters
    • fromJson

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

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