Interface ComponentConditionProperty.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ComponentConditionProperty.Builder,ComponentConditionProperty>,SdkBuilder<ComponentConditionProperty.Builder,ComponentConditionProperty>,SdkPojo
- Enclosing class:
- ComponentConditionProperty
public static interface ComponentConditionProperty.Builder extends SdkPojo, CopyableBuilder<ComponentConditionProperty.Builder,ComponentConditionProperty>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ComponentConditionProperty.BuilderelseValue(Consumer<ComponentProperty.Builder> elseValue)The value to assign to the property if the condition is not met.ComponentConditionProperty.BuilderelseValue(ComponentProperty elseValue)The value to assign to the property if the condition is not met.ComponentConditionProperty.Builderfield(String field)The name of a field.ComponentConditionProperty.Builderoperand(String operand)The value of the property to evaluate.ComponentConditionProperty.BuilderoperandType(String operandType)The type of the property to evaluate.ComponentConditionProperty.Builderoperator(String operator)The operator to use to perform the evaluation, such aseqto represent equals.ComponentConditionProperty.Builderproperty(String property)The name of the conditional property.default ComponentConditionProperty.Builderthen(Consumer<ComponentProperty.Builder> then)The value to assign to the property if the condition is met.ComponentConditionProperty.Builderthen(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 Detail
-
property
ComponentConditionProperty.Builder property(String 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
ComponentConditionProperty.Builder field(String 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
ComponentConditionProperty.Builder operator(String operator)
The operator to use to perform the evaluation, such as
eqto represent equals.- Parameters:
operator- The operator to use to perform the evaluation, such aseqto represent equals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operand
ComponentConditionProperty.Builder operand(String 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
ComponentConditionProperty.Builder then(ComponentProperty 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
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.Builderavoiding the need to create one manually viaComponentProperty.builder().When the
Consumercompletes,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:
then(ComponentProperty)
-
elseValue
ComponentConditionProperty.Builder elseValue(ComponentProperty 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
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.Builderavoiding the need to create one manually viaComponentProperty.builder().When the
Consumercompletes,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:
elseValue(ComponentProperty)
-
operandType
ComponentConditionProperty.Builder operandType(String 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.
-
-