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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Selector is a CEL expression which must evaluate to true if a resource instance is suitable.int
hashCode()
void
setSelector
(String selector) toString()
-
Field Details
-
SERIALIZED_NAME_SELECTOR
- See Also:
-
-
Constructor Details
-
V1alpha2NamedResourcesRequest
public V1alpha2NamedResourcesRequest()
-
-
Method Details
-
selector
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-