public static interface ComponentConditionProperty.Builder extends SdkPojo, CopyableBuilder<ComponentConditionProperty.Builder,ComponentConditionProperty>
| Modifier and Type | Method and Description |
|---|---|
ComponentConditionProperty.Builder |
elseValue(ComponentProperty elseValue)
The value to assign to the property if the condition is not met.
|
default ComponentConditionProperty.Builder |
elseValue(Consumer<ComponentProperty.Builder> elseValue)
The value to assign to the property if the condition is not met.
|
ComponentConditionProperty.Builder |
field(String field)
The name of a field.
|
ComponentConditionProperty.Builder |
operand(String operand)
The value of the property to evaluate.
|
ComponentConditionProperty.Builder |
operandType(String operandType)
The type of the property to evaluate.
|
ComponentConditionProperty.Builder |
operator(String operator)
The operator to use to perform the evaluation, such as
eq to represent equals. |
ComponentConditionProperty.Builder |
property(String property)
The name of the conditional property.
|
ComponentConditionProperty.Builder |
then(ComponentProperty then)
The value to assign to the property if the condition is met.
|
default ComponentConditionProperty.Builder |
then(Consumer<ComponentProperty.Builder> then)
The value to assign to the property if the condition is met.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildComponentConditionProperty.Builder elseValue(ComponentProperty elseValue)
The value to assign to the property if the condition is not met.
elseValue - The value to assign to the property if the condition is not met.default ComponentConditionProperty.Builder elseValue(Consumer<ComponentProperty.Builder> 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 via ComponentProperty.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to elseValue(ComponentProperty).
elseValue - a consumer that will call methods on ComponentProperty.BuilderelseValue(ComponentProperty)ComponentConditionProperty.Builder field(String field)
The name of a field. Specify this when the property is a data model.
field - The name of a field. Specify this when the property is a data model.ComponentConditionProperty.Builder operand(String operand)
The value of the property to evaluate.
operand - The value of the property to evaluate.ComponentConditionProperty.Builder operandType(String operandType)
The type of the property to evaluate.
operandType - The type of the property to evaluate.ComponentConditionProperty.Builder operator(String operator)
The operator to use to perform the evaluation, such as eq to represent equals.
operator - The operator to use to perform the evaluation, such as eq to represent equals.ComponentConditionProperty.Builder property(String property)
The name of the conditional property.
property - The name of the conditional property.ComponentConditionProperty.Builder then(ComponentProperty then)
The value to assign to the property if the condition is met.
then - The value to assign to the property if the condition is met.default ComponentConditionProperty.Builder then(Consumer<ComponentProperty.Builder> 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 via ComponentProperty.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to then(ComponentProperty).
then - a consumer that will call methods on ComponentProperty.Builderthen(ComponentProperty)Copyright © 2022. All rights reserved.