Class CfnSubscriber.TransformerProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eventsv2.CfnSubscriber.TransformerProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSubscriber.TransformerProperty>
- Enclosing interface:
CfnSubscriber.TransformerProperty
@Stability(Stable)
public static final class CfnSubscriber.TransformerProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSubscriber.TransformerProperty>
A builder for
CfnSubscriber.TransformerProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.jsonataConfiguration(IResolvable jsonataConfiguration) Sets the value ofCfnSubscriber.TransformerProperty.getJsonataConfiguration()jsonataConfiguration(CfnSubscriber.JsonataConfigurationProperty jsonataConfiguration) Sets the value ofCfnSubscriber.TransformerProperty.getJsonataConfiguration()Sets the value ofCfnSubscriber.TransformerProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
jsonataConfiguration
@Stability(Stable) public CfnSubscriber.TransformerProperty.Builder jsonataConfiguration(IResolvable jsonataConfiguration) Sets the value ofCfnSubscriber.TransformerProperty.getJsonataConfiguration()- Parameters:
jsonataConfiguration- JSONata transform settings.- Returns:
this
-
jsonataConfiguration
@Stability(Stable) public CfnSubscriber.TransformerProperty.Builder jsonataConfiguration(CfnSubscriber.JsonataConfigurationProperty jsonataConfiguration) Sets the value ofCfnSubscriber.TransformerProperty.getJsonataConfiguration()- Parameters:
jsonataConfiguration- JSONata transform settings.- Returns:
this
-
type
Sets the value ofCfnSubscriber.TransformerProperty.getType()- Parameters:
type- The transform type: RAW delivers the event payload only;. WITH_METADATA delivers the event with its metadata envelope; JSONATA delivers the output of the JSONata expression in JsonataConfiguration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSubscriber.TransformerProperty>- Returns:
- a new instance of
CfnSubscriber.TransformerProperty - Throws:
NullPointerException- if any required attribute was not provided
-