Interface ExpressionVariable.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExpressionVariable.Builder,
,ExpressionVariable> SdkBuilder<ExpressionVariable.Builder,
,ExpressionVariable> SdkPojo
- Enclosing class:
ExpressionVariable
@Mutable
@NotThreadSafe
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.Builder
value
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaVariableValue.builder()
.When the
Consumer
completes,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:
-