Class CfnRule.RuleTriggerEventSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnRule.RuleTriggerEventSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRule.RuleTriggerEventSourceProperty>
- Enclosing interface:
CfnRule.RuleTriggerEventSourceProperty
@Stability(Stable)
public static final class CfnRule.RuleTriggerEventSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRule.RuleTriggerEventSourceProperty>
A builder for
CfnRule.RuleTriggerEventSourceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.eventSourceName
(String eventSourceName) Sets the value ofCfnRule.RuleTriggerEventSourceProperty.getEventSourceName()
integrationAssociationArn
(String integrationAssociationArn) Sets the value ofCfnRule.RuleTriggerEventSourceProperty.getIntegrationAssociationArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventSourceName
@Stability(Stable) public CfnRule.RuleTriggerEventSourceProperty.Builder eventSourceName(String eventSourceName) Sets the value ofCfnRule.RuleTriggerEventSourceProperty.getEventSourceName()
- Parameters:
eventSourceName
- The name of the event source. This parameter is required.- Returns:
this
-
integrationAssociationArn
@Stability(Stable) public CfnRule.RuleTriggerEventSourceProperty.Builder integrationAssociationArn(String integrationAssociationArn) Sets the value ofCfnRule.RuleTriggerEventSourceProperty.getIntegrationAssociationArn()
- Parameters:
integrationAssociationArn
- The Amazon Resource Name (ARN) of the integration association.IntegrationAssociationArn
is required ifTriggerEventSource
is one of the following values:OnZendeskTicketCreate
|OnZendeskTicketStatusUpdate
|OnSalesforceCaseCreate
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnRule.RuleTriggerEventSourceProperty>
- Returns:
- a new instance of
CfnRule.RuleTriggerEventSourceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-