Class CfnEventIntegrationProps.Builder
java.lang.Object
software.amazon.awscdk.services.appintegrations.CfnEventIntegrationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventIntegrationProps>
- Enclosing interface:
CfnEventIntegrationProps
@Stability(Stable)
public static final class CfnEventIntegrationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventIntegrationProps>
A builder for
CfnEventIntegrationProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnEventIntegrationProps.getDescription()
eventBridgeBus
(String eventBridgeBus) Sets the value ofCfnEventIntegrationProps.getEventBridgeBus()
eventFilter
(IResolvable eventFilter) Sets the value ofCfnEventIntegrationProps.getEventFilter()
eventFilter
(CfnEventIntegration.EventFilterProperty eventFilter) Sets the value ofCfnEventIntegrationProps.getEventFilter()
Sets the value ofCfnEventIntegrationProps.getName()
Sets the value ofCfnEventIntegrationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventBridgeBus
Sets the value ofCfnEventIntegrationProps.getEventBridgeBus()
- Parameters:
eventBridgeBus
- The Amazon EventBridge bus for the event integration. This parameter is required.- Returns:
this
-
eventFilter
Sets the value ofCfnEventIntegrationProps.getEventFilter()
- Parameters:
eventFilter
- The event integration filter. This parameter is required.- Returns:
this
-
eventFilter
@Stability(Stable) public CfnEventIntegrationProps.Builder eventFilter(CfnEventIntegration.EventFilterProperty eventFilter) Sets the value ofCfnEventIntegrationProps.getEventFilter()
- Parameters:
eventFilter
- The event integration filter. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnEventIntegrationProps.getName()
- Parameters:
name
- The name of the event integration. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnEventIntegrationProps.getDescription()
- Parameters:
description
- The event integration description.- Returns:
this
-
tags
Sets the value ofCfnEventIntegrationProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEventIntegrationProps>
- Returns:
- a new instance of
CfnEventIntegrationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-