Class CfnSubscriber.JsonataConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eventsv2.CfnSubscriber.JsonataConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubscriber.JsonataConfigurationProperty>
- Enclosing interface:
CfnSubscriber.JsonataConfigurationProperty
@Stability(Stable)
public static final class CfnSubscriber.JsonataConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubscriber.JsonataConfigurationProperty>
A builder for
CfnSubscriber.JsonataConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.expression(String expression) Sets the value ofCfnSubscriber.JsonataConfigurationProperty.getExpression()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expression
@Stability(Stable) public CfnSubscriber.JsonataConfigurationProperty.Builder expression(String expression) Sets the value ofCfnSubscriber.JsonataConfigurationProperty.getExpression()- Parameters:
expression- The JSONata expression that transforms the event, enclosed in {% %} delimiters. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSubscriber.JsonataConfigurationProperty>- Returns:
- a new instance of
CfnSubscriber.JsonataConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-