Class Variable
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.Variable
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<VariableBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Variable extends Object implements io.fabric8.kubernetes.api.builder.Editable<VariableBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Variable is the definition of a variable that is used for composition. A variable is defined as a named expression.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VariableBuilderedit()Map<String,Object>getAdditionalProperties()StringgetExpression()Expression is the expression that will be evaluated as the value of the variable.StringgetName()Name is the name of the variable.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetExpression(String expression)Expression is the expression that will be evaluated as the value of the variable.voidsetName(String name)Name is the name of the variable.VariableBuildertoBuilder()
-
-
-
Method Detail
-
getExpression
public String 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.
-
setExpression
public void setExpression(String expression)
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.
-
getName
public String 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`
-
setName
public void setName(String name)
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`
-
edit
public VariableBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<VariableBuilder>
-
toBuilder
public VariableBuilder toBuilder()
-
-