Class VariableV1Beta1.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • expression

        @Stability(Stable)
        public VariableV1Beta1.Builder expression​(String expression)
        Parameters:
        expression - Expression is the expression that will be evaluated as the value of the variable. This parameter is required. The CEL expression has access to the same identifiers as the CEL expressions in Validation.
        Returns:
        this
      • name

        @Stability(Stable)
        public VariableV1Beta1.Builder name​(String name)
        Sets the value of VariableV1Beta1.getName()
        Parameters:
        name - Name is the name of the variable. This parameter is required. 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:
        this