Interface ComponentConditionProperty.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComponentConditionProperty.Builder,
,ComponentConditionProperty> SdkBuilder<ComponentConditionProperty.Builder,
,ComponentConditionProperty> SdkPojo
- Enclosing class:
ComponentConditionProperty
-
Method Summary
Modifier and TypeMethodDescriptionelseValue
(Consumer<ComponentProperty.Builder> elseValue) The value to assign to the property if the condition is not met.elseValue
(ComponentProperty elseValue) The value to assign to the property if the condition is not met.The name of a field.The value of the property to evaluate.operandType
(String operandType) The type of the property to evaluate.The operator to use to perform the evaluation, such aseq
to represent equals.The name of the conditional property.The value to assign to the property if the condition is met.then
(ComponentProperty then) The value to assign to the property if the condition is met.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
-
property
The name of the conditional property.
- Parameters:
property
- The name of the conditional property.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
field
The name of a field. Specify this when the property is a data model.
- Parameters:
field
- The name of a field. Specify this when the property is a data model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operator
The operator to use to perform the evaluation, such as
eq
to represent equals.- Parameters:
operator
- The operator to use to perform the evaluation, such aseq
to represent equals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operand
The value of the property to evaluate.
- Parameters:
operand
- The value of the property to evaluate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
then
The value to assign to the property if the condition is met.
- Parameters:
then
- The value to assign to the property if the condition is met.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
then
The value to assign to the property if the condition is met.
This is a convenience method that creates an instance of theComponentProperty.Builder
avoiding the need to create one manually viaComponentProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothen(ComponentProperty)
.- Parameters:
then
- a consumer that will call methods onComponentProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
elseValue
The value to assign to the property if the condition is not met.
- Parameters:
elseValue
- The value to assign to the property if the condition is not met.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elseValue
The value to assign to the property if the condition is not met.
This is a convenience method that creates an instance of theComponentProperty.Builder
avoiding the need to create one manually viaComponentProperty.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toelseValue(ComponentProperty)
.- Parameters:
elseValue
- a consumer that will call methods onComponentProperty.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operandType
The type of the property to evaluate.
- Parameters:
operandType
- The type of the property to evaluate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-