Class CfnEventIntegrationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appintegrations.CfnEventIntegrationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventIntegrationMixinProps>
- Enclosing interface:
CfnEventIntegrationMixinProps
@Stability(Stable)
public static final class CfnEventIntegrationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventIntegrationMixinProps>
A builder for
CfnEventIntegrationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnEventIntegrationMixinProps.getDescription()eventBridgeBus(String eventBridgeBus) Sets the value ofCfnEventIntegrationMixinProps.getEventBridgeBus()Sets the value ofCfnEventIntegrationMixinProps.getEventFilter()eventFilter(IResolvable eventFilter) Sets the value ofCfnEventIntegrationMixinProps.getEventFilter()Sets the value ofCfnEventIntegrationMixinProps.getName()Sets the value ofCfnEventIntegrationMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnEventIntegrationMixinProps.getDescription()- Parameters:
description- The event integration description.- Returns:
this
-
eventBridgeBus
@Stability(Stable) public CfnEventIntegrationMixinProps.Builder eventBridgeBus(String eventBridgeBus) Sets the value ofCfnEventIntegrationMixinProps.getEventBridgeBus()- Parameters:
eventBridgeBus- The Amazon EventBridge bus for the event integration.- Returns:
this
-
eventFilter
@Stability(Stable) public CfnEventIntegrationMixinProps.Builder eventFilter(IResolvable eventFilter) Sets the value ofCfnEventIntegrationMixinProps.getEventFilter()- Parameters:
eventFilter- The event integration filter.- Returns:
this
-
eventFilter
@Stability(Stable) public CfnEventIntegrationMixinProps.Builder eventFilter(CfnEventIntegrationPropsMixin.EventFilterProperty eventFilter) Sets the value ofCfnEventIntegrationMixinProps.getEventFilter()- Parameters:
eventFilter- The event integration filter.- Returns:
this
-
name
Sets the value ofCfnEventIntegrationMixinProps.getName()- Parameters:
name- The name of the event integration.- Returns:
this
-
tags
Sets the value ofCfnEventIntegrationMixinProps.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventIntegrationMixinProps>- Returns:
- a new instance of
CfnEventIntegrationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-