Package org.cdk8s.plus28.k8s
Interface VariableV1Beta1
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VariableV1Beta1.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-03T12:13:25.892Z") @Stability(Stable) public interface VariableV1Beta1 extends software.amazon.jsii.JsiiSerializable
Variable is the definition of a variable that is used for composition.A variable is defined as a named expression.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classVariableV1Beta1.BuilderA builder forVariableV1Beta1static classVariableV1Beta1.Jsii$ProxyAn implementation forVariableV1Beta1
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static VariableV1Beta1.Builderbuilder()StringgetExpression()Expression is the expression that will be evaluated as the value of the variable.StringgetName()Name is the name of the variable.
-
-
-
Method Detail
-
getExpression
@Stability(Stable) @NotNull 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.
-
getName
@Stability(Stable) @NotNull 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
variablesFor example, if name is "foo", the variable will be available asvariables.foo
-
builder
@Stability(Stable) static VariableV1Beta1.Builder builder()
- Returns:
- a
VariableV1Beta1.BuilderofVariableV1Beta1
-
-