Class CfnFunctionPropsMixin.EventSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sam.CfnFunctionPropsMixin.EventSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunctionPropsMixin.EventSourceProperty>
- Enclosing interface:
CfnFunctionPropsMixin.EventSourceProperty
@Stability(Stable)
public static final class CfnFunctionPropsMixin.EventSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunctionPropsMixin.EventSourceProperty>
A builder for
CfnFunctionPropsMixin.EventSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()properties(CfnFunctionPropsMixin.ApiEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()properties(CfnFunctionPropsMixin.CognitoEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()properties(CfnFunctionPropsMixin.HttpApiEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()properties(CfnFunctionPropsMixin.IoTRuleEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()properties(CfnFunctionPropsMixin.KinesisEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()properties(CfnFunctionPropsMixin.S3EventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()properties(CfnFunctionPropsMixin.SNSEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()properties(CfnFunctionPropsMixin.SQSEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()properties(IResolvable properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
properties
@Stability(Stable) public CfnFunctionPropsMixin.EventSourceProperty.Builder properties(IResolvable properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()- Parameters:
properties- the value to be set.- Returns:
this
-
properties
@Stability(Stable) public CfnFunctionPropsMixin.EventSourceProperty.Builder properties(CfnFunctionPropsMixin.AlexaSkillEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()- Parameters:
properties- the value to be set.- Returns:
this
-
properties
@Stability(Stable) public CfnFunctionPropsMixin.EventSourceProperty.Builder properties(CfnFunctionPropsMixin.ApiEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()- Parameters:
properties- the value to be set.- Returns:
this
-
properties
@Stability(Stable) public CfnFunctionPropsMixin.EventSourceProperty.Builder properties(CfnFunctionPropsMixin.CloudWatchEventEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()- Parameters:
properties- the value to be set.- Returns:
this
-
properties
@Stability(Stable) public CfnFunctionPropsMixin.EventSourceProperty.Builder properties(CfnFunctionPropsMixin.CloudWatchLogsEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()- Parameters:
properties- the value to be set.- Returns:
this
-
properties
@Stability(Stable) public CfnFunctionPropsMixin.EventSourceProperty.Builder properties(CfnFunctionPropsMixin.CognitoEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()- Parameters:
properties- the value to be set.- Returns:
this
-
properties
@Stability(Stable) public CfnFunctionPropsMixin.EventSourceProperty.Builder properties(CfnFunctionPropsMixin.DynamoDBEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()- Parameters:
properties- the value to be set.- Returns:
this
-
properties
@Stability(Stable) public CfnFunctionPropsMixin.EventSourceProperty.Builder properties(CfnFunctionPropsMixin.EventBridgeRuleEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()- Parameters:
properties- the value to be set.- Returns:
this
-
properties
@Stability(Stable) public CfnFunctionPropsMixin.EventSourceProperty.Builder properties(CfnFunctionPropsMixin.HttpApiEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()- Parameters:
properties- the value to be set.- Returns:
this
-
properties
@Stability(Stable) public CfnFunctionPropsMixin.EventSourceProperty.Builder properties(CfnFunctionPropsMixin.IoTRuleEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()- Parameters:
properties- the value to be set.- Returns:
this
-
properties
@Stability(Stable) public CfnFunctionPropsMixin.EventSourceProperty.Builder properties(CfnFunctionPropsMixin.KinesisEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()- Parameters:
properties- the value to be set.- Returns:
this
-
properties
@Stability(Stable) public CfnFunctionPropsMixin.EventSourceProperty.Builder properties(CfnFunctionPropsMixin.S3EventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()- Parameters:
properties- the value to be set.- Returns:
this
-
properties
@Stability(Stable) public CfnFunctionPropsMixin.EventSourceProperty.Builder properties(CfnFunctionPropsMixin.ScheduleEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()- Parameters:
properties- the value to be set.- Returns:
this
-
properties
@Stability(Stable) public CfnFunctionPropsMixin.EventSourceProperty.Builder properties(CfnFunctionPropsMixin.SNSEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()- Parameters:
properties- the value to be set.- Returns:
this
-
properties
@Stability(Stable) public CfnFunctionPropsMixin.EventSourceProperty.Builder properties(CfnFunctionPropsMixin.SQSEventProperty properties) Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getProperties()- Parameters:
properties- the value to be set.- Returns:
this
-
type
Sets the value ofCfnFunctionPropsMixin.EventSourceProperty.getType()- Parameters:
type- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunctionPropsMixin.EventSourceProperty>- Returns:
- a new instance of
CfnFunctionPropsMixin.EventSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-