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