Class V1beta1Variable
java.lang.Object
io.kubernetes.client.openapi.models.V1beta1Variable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T23:08:31.638427Z[Etc/UTC]")
public class V1beta1Variable
extends Object
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
expression
(String expression) Expression is the expression that will be evaluated as the value of the variable.getName()
Name is the name of the variable.int
hashCode()
void
setExpression
(String expression) void
toString()
-
Field Details
-
SERIALIZED_NAME_EXPRESSION
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
-
Constructor Details
-
V1beta1Variable
public V1beta1Variable()
-
-
Method Details
-
expression
-
getExpression
Expression is the expression that will be evaluated as the value of the variable. The CEL expression has access to the same identifiers as the CEL expressions in Validation.- Returns:
- expression
-
setExpression
-
name
-
getName
Name is the name of the variable. The name must be a valid CEL identifier and unique among all variables. The variable can be accessed in other expressions through `variables` For example, if name is \"foo\", the variable will be available as `variables.foo`- Returns:
- name
-
setName
-
equals
-
hashCode
public int hashCode() -
toString
-