@Generated(value="software.amazon.awssdk:codegen") public final class ConditionExpression extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConditionExpression.Builder,ConditionExpression>
Represents an individual condition that evaluates to true or false.
Conditions are used with recipe actions. The action is only performed for column values where the condition evaluates to true.
If a recipe requires more than one condition, then the recipe must specify multiple ConditionExpression
elements. Each condition is applied to the rows in a dataset first, before the recipe action is performed.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConditionExpression.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ConditionExpression.Builder |
builder() |
String |
condition()
A specific condition to apply to a recipe action.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ConditionExpression.Builder> |
serializableBuilderClass() |
String |
targetColumn()
A column to apply this condition to.
|
ConditionExpression.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
A value that the condition must evaluate to for the condition to succeed.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String condition()
A specific condition to apply to a recipe action. For more information, see Recipe structure in the Glue DataBrew Developer Guide.
public final String value()
A value that the condition must evaluate to for the condition to succeed.
public final String targetColumn()
A column to apply this condition to.
public ConditionExpression.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ConditionExpression.Builder,ConditionExpression>public static ConditionExpression.Builder builder()
public static Class<? extends ConditionExpression.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.