Class CfnApiPropsMixin.CognitoConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnApiPropsMixin.CognitoConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiPropsMixin.CognitoConfigProperty>
- Enclosing interface:
CfnApiPropsMixin.CognitoConfigProperty
@Stability(Stable)
public static final class CfnApiPropsMixin.CognitoConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiPropsMixin.CognitoConfigProperty>
A builder for
CfnApiPropsMixin.CognitoConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappIdClientRegex(String appIdClientRegex) Sets the value ofCfnApiPropsMixin.CognitoConfigProperty.getAppIdClientRegex()Sets the value ofCfnApiPropsMixin.CognitoConfigProperty.getAwsRegion()build()Builds the configured instance.userPoolId(String userPoolId) Sets the value ofCfnApiPropsMixin.CognitoConfigProperty.getUserPoolId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appIdClientRegex
@Stability(Stable) public CfnApiPropsMixin.CognitoConfigProperty.Builder appIdClientRegex(String appIdClientRegex) Sets the value ofCfnApiPropsMixin.CognitoConfigProperty.getAppIdClientRegex()- Parameters:
appIdClientRegex- A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.- Returns:
this
-
awsRegion
@Stability(Stable) public CfnApiPropsMixin.CognitoConfigProperty.Builder awsRegion(String awsRegion) Sets the value ofCfnApiPropsMixin.CognitoConfigProperty.getAwsRegion()- Parameters:
awsRegion- The AWS Region in which the user pool was created.- Returns:
this
-
userPoolId
@Stability(Stable) public CfnApiPropsMixin.CognitoConfigProperty.Builder userPoolId(String userPoolId) Sets the value ofCfnApiPropsMixin.CognitoConfigProperty.getUserPoolId()- Parameters:
userPoolId- The user pool ID.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApiPropsMixin.CognitoConfigProperty>- Returns:
- a new instance of
CfnApiPropsMixin.CognitoConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-