Class CfnDataset.FilterExpressionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.databrew.CfnDataset.FilterExpressionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.FilterExpressionProperty>
- Enclosing interface:
CfnDataset.FilterExpressionProperty
@Stability(Stable)
public static final class CfnDataset.FilterExpressionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.FilterExpressionProperty>
A builder for
CfnDataset.FilterExpressionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.expression
(String expression) Sets the value ofCfnDataset.FilterExpressionProperty.getExpression()
Sets the value ofCfnDataset.FilterExpressionProperty.getValuesMap()
valuesMap
(IResolvable valuesMap) Sets the value ofCfnDataset.FilterExpressionProperty.getValuesMap()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expression
Sets the value ofCfnDataset.FilterExpressionProperty.getExpression()
- Parameters:
expression
- The expression which includes condition names followed by substitution variables, possibly grouped and combined with other conditions. This parameter is required. For example, "(starts_with :prefix1 or starts_with :prefix2) and (ends_with :suffix1 or ends_with :suffix2)". Substitution variables should start with ':' symbol.- Returns:
this
-
valuesMap
@Stability(Stable) public CfnDataset.FilterExpressionProperty.Builder valuesMap(IResolvable valuesMap) Sets the value ofCfnDataset.FilterExpressionProperty.getValuesMap()
- Parameters:
valuesMap
- The map of substitution variable names to their values used in this filter expression. This parameter is required.- Returns:
this
-
valuesMap
@Stability(Stable) public CfnDataset.FilterExpressionProperty.Builder valuesMap(List<? extends Object> valuesMap) Sets the value ofCfnDataset.FilterExpressionProperty.getValuesMap()
- Parameters:
valuesMap
- The map of substitution variable names to their values used in this filter expression. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataset.FilterExpressionProperty>
- Returns:
- a new instance of
CfnDataset.FilterExpressionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-