Class CfnFunction.CognitoEventProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnFunction.CognitoEventProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFunction.CognitoEventProperty>
- Enclosing interface:
- CfnFunction.CognitoEventProperty
@Stability(Stable)
public static final class CfnFunction.CognitoEventProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFunction.CognitoEventProperty>
A builder for
CfnFunction.CognitoEventProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFunction.CognitoEventProperty.getTrigger()Sets the value ofCfnFunction.CognitoEventProperty.getTrigger()trigger(IResolvable trigger) Sets the value ofCfnFunction.CognitoEventProperty.getTrigger()Sets the value ofCfnFunction.CognitoEventProperty.getUserPool()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
trigger
Sets the value ofCfnFunction.CognitoEventProperty.getTrigger()- Parameters:
trigger-CfnFunction.CognitoEventProperty.Trigger. This parameter is required.- Returns:
this
-
trigger
Sets the value ofCfnFunction.CognitoEventProperty.getTrigger()- Parameters:
trigger-CfnFunction.CognitoEventProperty.Trigger. This parameter is required.- Returns:
this
-
trigger
Sets the value ofCfnFunction.CognitoEventProperty.getTrigger()- Parameters:
trigger-CfnFunction.CognitoEventProperty.Trigger. This parameter is required.- Returns:
this
-
userPool
Sets the value ofCfnFunction.CognitoEventProperty.getUserPool()- Parameters:
userPool-CfnFunction.CognitoEventProperty.UserPool. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFunction.CognitoEventProperty>- Returns:
- a new instance of
CfnFunction.CognitoEventProperty - Throws:
NullPointerException- if any required attribute was not provided
-