Class CfnEventSourceMapping.FilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnEventSourceMapping.FilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventSourceMapping.FilterProperty>
- Enclosing interface:
CfnEventSourceMapping.FilterProperty
@Stability(Stable)
public static final class CfnEventSourceMapping.FilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventSourceMapping.FilterProperty>
A builder for
CfnEventSourceMapping.FilterProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnEventSourceMapping.FilterProperty.getPattern()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pattern
Sets the value ofCfnEventSourceMapping.FilterProperty.getPattern()
- Parameters:
pattern
- A filter pattern. For more information on the syntax of a filter pattern, see Filter rule syntax .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEventSourceMapping.FilterProperty>
- Returns:
- a new instance of
CfnEventSourceMapping.FilterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-