Package org.cdk8s.plus28.k8s
Interface VariableV1Alpha1
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VariableV1Alpha1.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-03T12:13:25.892Z") @Stability(Stable) public interface VariableV1Alpha1 extends software.amazon.jsii.JsiiSerializable
Variable is the definition of a variable that is used for composition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classVariableV1Alpha1.BuilderA builder forVariableV1Alpha1static classVariableV1Alpha1.Jsii$ProxyAn implementation forVariableV1Alpha1
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static VariableV1Alpha1.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 VariableV1Alpha1.Builder builder()
- Returns:
- a
VariableV1Alpha1.BuilderofVariableV1Alpha1
-
-