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