Class CfnEventSourcePropsMixin.EventSourceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eventsv2.CfnEventSourcePropsMixin.EventSourceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventSourcePropsMixin.EventSourceConfigurationProperty>
- Enclosing interface:
CfnEventSourcePropsMixin.EventSourceConfigurationProperty
@Stability(Stable)
public static final class CfnEventSourcePropsMixin.EventSourceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventSourcePropsMixin.EventSourceConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionawsServiceEventsConfiguration(CfnEventSourcePropsMixin.AwsServiceEventsConfigurationProperty awsServiceEventsConfiguration) awsServiceEventsConfiguration(IResolvable awsServiceEventsConfiguration) build()Builds the configured instance.partnerEventsConfiguration(CfnEventSourcePropsMixin.PartnerEventsConfigurationProperty partnerEventsConfiguration) partnerEventsConfiguration(IResolvable partnerEventsConfiguration)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsServiceEventsConfiguration
@Stability(Stable) public CfnEventSourcePropsMixin.EventSourceConfigurationProperty.Builder awsServiceEventsConfiguration(IResolvable awsServiceEventsConfiguration) Sets the value ofCfnEventSourcePropsMixin.EventSourceConfigurationProperty.getAwsServiceEventsConfiguration()- Parameters:
awsServiceEventsConfiguration- Forward a single AWS service's events from the account's default event bus.- Returns:
this
-
awsServiceEventsConfiguration
@Stability(Stable) public CfnEventSourcePropsMixin.EventSourceConfigurationProperty.Builder awsServiceEventsConfiguration(CfnEventSourcePropsMixin.AwsServiceEventsConfigurationProperty awsServiceEventsConfiguration) Sets the value ofCfnEventSourcePropsMixin.EventSourceConfigurationProperty.getAwsServiceEventsConfiguration()- Parameters:
awsServiceEventsConfiguration- Forward a single AWS service's events from the account's default event bus.- Returns:
this
-
partnerEventsConfiguration
@Stability(Stable) public CfnEventSourcePropsMixin.EventSourceConfigurationProperty.Builder partnerEventsConfiguration(IResolvable partnerEventsConfiguration) Sets the value ofCfnEventSourcePropsMixin.EventSourceConfigurationProperty.getPartnerEventsConfiguration()- Parameters:
partnerEventsConfiguration- Forward a partner event source's events through a managed partner event bus.- Returns:
this
-
partnerEventsConfiguration
@Stability(Stable) public CfnEventSourcePropsMixin.EventSourceConfigurationProperty.Builder partnerEventsConfiguration(CfnEventSourcePropsMixin.PartnerEventsConfigurationProperty partnerEventsConfiguration) Sets the value ofCfnEventSourcePropsMixin.EventSourceConfigurationProperty.getPartnerEventsConfiguration()- Parameters:
partnerEventsConfiguration- Forward a partner event source's events through a managed partner event bus.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventSourcePropsMixin.EventSourceConfigurationProperty>- Returns:
- a new instance of
CfnEventSourcePropsMixin.EventSourceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-