Class V1alpha2NamedResourcesRequest

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-04-23T13:45:08.546919Z[Etc/UTC]") public class V1alpha2NamedResourcesRequest extends Object
NamedResourcesRequest is used in ResourceRequestModel.
  • Field Details

  • Constructor Details

    • V1alpha2NamedResourcesRequest

      public V1alpha2NamedResourcesRequest()
  • Method Details

    • selector

      public V1alpha2NamedResourcesRequest selector(String selector)
    • getSelector

      public String getSelector()
      Selector is a CEL expression which must evaluate to true if a resource instance is suitable. The language is as defined in https://kubernetes.io/docs/reference/using-api/cel/ In addition, for each type NamedResourcesin AttributeValue there is a map that resolves to the corresponding value of the instance under evaluation. For example: attributes.quantity[\"a\"].isGreaterThan(quantity(\"0\")) && attributes.stringslice[\"b\"].isSorted()
      Returns:
      selector
    • setSelector

      public void setSelector(String selector)
    • 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