Class CfnEventSourceMapping.SchemaValidationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnEventSourceMapping.SchemaValidationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventSourceMapping.SchemaValidationConfigProperty>
- Enclosing interface:
CfnEventSourceMapping.SchemaValidationConfigProperty
@Stability(Stable)
public static final class CfnEventSourceMapping.SchemaValidationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventSourceMapping.SchemaValidationConfigProperty>
A builder for
CfnEventSourceMapping.SchemaValidationConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnEventSourceMapping.SchemaValidationConfigProperty.getAttribute()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attribute
@Stability(Stable) public CfnEventSourceMapping.SchemaValidationConfigProperty.Builder attribute(String attribute) Sets the value ofCfnEventSourceMapping.SchemaValidationConfigProperty.getAttribute()- Parameters:
attribute- The attributes you want your schema registry to validate and filter for. If you selectedJSONas theEventRecordFormat, Lambda also deserializes the selected message attributes.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventSourceMapping.SchemaValidationConfigProperty>- Returns:
- a new instance of
CfnEventSourceMapping.SchemaValidationConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-