Class CfnFunctionPropsMixin.CloudWatchEventEventProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sam.CfnFunctionPropsMixin.CloudWatchEventEventProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionPropsMixin.CloudWatchEventEventProperty>
- Enclosing interface:
CfnFunctionPropsMixin.CloudWatchEventEventProperty
@Stability(Stable)
public static final class CfnFunctionPropsMixin.CloudWatchEventEventProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionPropsMixin.CloudWatchEventEventProperty>
A builder for
CfnFunctionPropsMixin.CloudWatchEventEventProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFunctionPropsMixin.CloudWatchEventEventProperty.getInput()Sets the value ofCfnFunctionPropsMixin.CloudWatchEventEventProperty.getInputPath()Sets the value ofCfnFunctionPropsMixin.CloudWatchEventEventProperty.getPattern()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
input
@Stability(Stable) public CfnFunctionPropsMixin.CloudWatchEventEventProperty.Builder input(String input) Sets the value ofCfnFunctionPropsMixin.CloudWatchEventEventProperty.getInput()- Parameters:
input- the value to be set.- Returns:
this
-
inputPath
@Stability(Stable) public CfnFunctionPropsMixin.CloudWatchEventEventProperty.Builder inputPath(String inputPath) Sets the value ofCfnFunctionPropsMixin.CloudWatchEventEventProperty.getInputPath()- Parameters:
inputPath- the value to be set.- Returns:
this
-
pattern
@Stability(Stable) public CfnFunctionPropsMixin.CloudWatchEventEventProperty.Builder pattern(Object pattern) Sets the value ofCfnFunctionPropsMixin.CloudWatchEventEventProperty.getPattern()- Parameters:
pattern- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionPropsMixin.CloudWatchEventEventProperty>- Returns:
- a new instance of
CfnFunctionPropsMixin.CloudWatchEventEventProperty - Throws:
NullPointerException- if any required attribute was not provided
-