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