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