Class V1alpha2ResourceHandle

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-18T15:05:57.863601Z[Etc/UTC]") public class V1alpha2ResourceHandle extends Object
ResourceHandle holds opaque resource data for processing by a specific kubelet plugin.
  • Field Details

  • Constructor Details

    • V1alpha2ResourceHandle

      public V1alpha2ResourceHandle()
  • Method Details

    • data

      public V1alpha2ResourceHandle data(String data)
    • getData

      @Nullable public String getData()
      Data contains the opaque data associated with this ResourceHandle. It is set by the controller component of the resource driver whose name matches the DriverName set in the ResourceClaimStatus this ResourceHandle is embedded in. It is set at allocation time and is intended for processing by the kubelet plugin whose name matches the DriverName set in this ResourceHandle. The maximum size of this field is 16KiB. This may get increased in the future, but not reduced.
      Returns:
      data
    • setData

      public void setData(String data)
    • driverName

      public V1alpha2ResourceHandle driverName(String driverName)
    • getDriverName

      @Nullable public String getDriverName()
      DriverName specifies the name of the resource driver whose kubelet plugin should be invoked to process this ResourceHandle's data once it lands on a node. This may differ from the DriverName set in ResourceClaimStatus this ResourceHandle is embedded in.
      Returns:
      driverName
    • setDriverName

      public void setDriverName(String driverName)
    • 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