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