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
Modifier and TypeMethodDescriptionThe 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.value(VariableValue value) The variable that identifies an asset property from which to use values.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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:
-