Class CfnUserPoolRegionalConfigurationAttachment.PreTokenGenerationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.CfnUserPoolRegionalConfigurationAttachment.PreTokenGenerationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserPoolRegionalConfigurationAttachment.PreTokenGenerationConfigProperty>
- Enclosing interface:
CfnUserPoolRegionalConfigurationAttachment.PreTokenGenerationConfigProperty
@Stability(Stable)
public static final class CfnUserPoolRegionalConfigurationAttachment.PreTokenGenerationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserPoolRegionalConfigurationAttachment.PreTokenGenerationConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.lambdaVersion(String lambdaVersion)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
lambdaArn
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachment.PreTokenGenerationConfigProperty.Builder lambdaArn(String lambdaArn) Sets the value ofCfnUserPoolRegionalConfigurationAttachment.PreTokenGenerationConfigProperty.getLambdaArn()- Parameters:
lambdaArn- the value to be set.- Returns:
this
-
lambdaVersion
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachment.PreTokenGenerationConfigProperty.Builder lambdaVersion(String lambdaVersion) Sets the value ofCfnUserPoolRegionalConfigurationAttachment.PreTokenGenerationConfigProperty.getLambdaVersion()- Parameters:
lambdaVersion- the value to be set.- Returns:
this
-
build
@Stability(Stable) public CfnUserPoolRegionalConfigurationAttachment.PreTokenGenerationConfigProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserPoolRegionalConfigurationAttachment.PreTokenGenerationConfigProperty>- Returns:
- a new instance of
CfnUserPoolRegionalConfigurationAttachment.PreTokenGenerationConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-