Class V1beta1Variable
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1beta1Variable
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
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) Set expression in a chainable fashion.Expression is the expression that will be evaluated as the value of the variable.getName()
Name is the name of the variable.int
hashCode()
Set name in a chainable fashion.void
setExpression
(String expression) Set the expression property valuevoid
Set the name property valuetoString()
-
Field Details
-
JSON_PROPERTY_EXPRESSION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
V1beta1Variable
-
-
Method Details
-
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:
- the expression property value
-
setExpression
Set the expression property value- Parameters:
expression
- property value to set
-
expression
Set expression in a chainable fashion.- Returns:
- The same instance of V1beta1Variable for chaining.
-
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:
- the name property value
-
setName
Set the name property value- Parameters:
name
- property value to set
-
name
Set name in a chainable fashion.- Returns:
- The same instance of V1beta1Variable for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-