Interface ExpressionVariable.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ExpressionVariable.Builder,ExpressionVariable>,SdkBuilder<ExpressionVariable.Builder,ExpressionVariable>,SdkPojo
- Enclosing class:
- ExpressionVariable
public static interface ExpressionVariable.Builder extends SdkPojo, CopyableBuilder<ExpressionVariable.Builder,ExpressionVariable>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExpressionVariable.Buildername(String name)The friendly name of the variable to be used in the expression.default ExpressionVariable.Buildervalue(Consumer<VariableValue.Builder> value)The variable that identifies an asset property from which to use values.ExpressionVariable.Buildervalue(VariableValue value)The variable that identifies an asset property from which to use values.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
ExpressionVariable.Builder name(String name)
The friendly name of the variable to be used in the expression.
- Parameters:
name- The friendly name of the variable to be used in the expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
ExpressionVariable.Builder value(VariableValue value)
The variable that identifies an asset property from which to use values.
- Parameters:
value- The variable that identifies an asset property from which to use values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
value
default ExpressionVariable.Builder value(Consumer<VariableValue.Builder> value)
The variable that identifies an asset property from which to use values.
This is a convenience method that creates an instance of theVariableValue.Builderavoiding the need to create one manually viaVariableValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalue(VariableValue).- Parameters:
value- a consumer that will call methods onVariableValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
value(VariableValue)
-
-