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-CfnFunction.EventBridgeRuleEventProperty.Pattern. This parameter is required.- Returns:
this
-
eventBusName
@Stability(Stable) public CfnFunction.EventBridgeRuleEventProperty.Builder eventBusName(String eventBusName) Sets the value ofCfnFunction.EventBridgeRuleEventProperty.getEventBusName()- Parameters:
eventBusName-CfnFunction.EventBridgeRuleEventProperty.EventBusName.- Returns:
this
-
input
Sets the value ofCfnFunction.EventBridgeRuleEventProperty.getInput()- Parameters:
input-CfnFunction.EventBridgeRuleEventProperty.Input.- Returns:
this
-
inputPath
@Stability(Stable) public CfnFunction.EventBridgeRuleEventProperty.Builder inputPath(String inputPath) Sets the value ofCfnFunction.EventBridgeRuleEventProperty.getInputPath()- Parameters:
inputPath-CfnFunction.EventBridgeRuleEventProperty.InputPath.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunction.EventBridgeRuleEventProperty>- Returns:
- a new instance of
CfnFunction.EventBridgeRuleEventProperty - Throws:
NullPointerException- if any required attribute was not provided
-