@Generated(value="software.amazon.awssdk:codegen") public final class ComponentConditionProperty extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ComponentConditionProperty.Builder,ComponentConditionProperty>
Represents a conditional expression to set a component property. Use ComponentConditionProperty to set a
property to different values conditionally, based on the value of another property.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ComponentConditionProperty.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ComponentConditionProperty.Builder |
builder() |
ComponentProperty |
elseValue()
The value to assign to the property if the condition is not met.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
field()
The name of a field.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
operand()
The value of the property to evaluate.
|
String |
operandType()
The type of the property to evaluate.
|
String |
operator()
The operator to use to perform the evaluation, such as
eq to represent equals. |
String |
property()
The name of the conditional property.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ComponentConditionProperty.Builder> |
serializableBuilderClass() |
ComponentProperty |
then()
The value to assign to the property if the condition is met.
|
ComponentConditionProperty.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String property()
The name of the conditional property.
public final String field()
The name of a field. Specify this when the property is a data model.
public final String operator()
The operator to use to perform the evaluation, such as eq to represent equals.
eq to represent equals.public final String operand()
The value of the property to evaluate.
public final ComponentProperty then()
The value to assign to the property if the condition is met.
public final ComponentProperty elseValue()
The value to assign to the property if the condition is not met.
public final String operandType()
The type of the property to evaluate.
public ComponentConditionProperty.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ComponentConditionProperty.Builder,ComponentConditionProperty>public static ComponentConditionProperty.Builder builder()
public static Class<? extends ComponentConditionProperty.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.