Class CfnDataSourcePropsMixin.EventBridgeConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnDataSourcePropsMixin.EventBridgeConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.EventBridgeConfigProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.EventBridgeConfigProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.EventBridgeConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.EventBridgeConfigProperty>
A builder for
CfnDataSourcePropsMixin.EventBridgeConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventBusArn(String eventBusArn) Sets the value ofCfnDataSourcePropsMixin.EventBridgeConfigProperty.getEventBusArn()eventBusArn(IEventBusRef eventBusArn) Sets the value ofCfnDataSourcePropsMixin.EventBridgeConfigProperty.getEventBusArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventBusArn
@Stability(Stable) public CfnDataSourcePropsMixin.EventBridgeConfigProperty.Builder eventBusArn(String eventBusArn) Sets the value ofCfnDataSourcePropsMixin.EventBridgeConfigProperty.getEventBusArn()- Parameters:
eventBusArn- The event bus pipeline's ARN. For more information about event buses, see EventBridge event buses .- Returns:
this
-
eventBusArn
@Stability(Stable) public CfnDataSourcePropsMixin.EventBridgeConfigProperty.Builder eventBusArn(IEventBusRef eventBusArn) Sets the value ofCfnDataSourcePropsMixin.EventBridgeConfigProperty.getEventBusArn()- Parameters:
eventBusArn- The event bus pipeline's ARN. For more information about event buses, see EventBridge event buses .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.EventBridgeConfigProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.EventBridgeConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-