Class CfnApi.CognitoConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.CfnApi.CognitoConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApi.CognitoConfigProperty>
- Enclosing interface:
CfnApi.CognitoConfigProperty
@Stability(Stable)
public static final class CfnApi.CognitoConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApi.CognitoConfigProperty>
A builder for
CfnApi.CognitoConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappIdClientRegex(String appIdClientRegex) Sets the value ofCfnApi.CognitoConfigProperty.getAppIdClientRegex()Sets the value ofCfnApi.CognitoConfigProperty.getAwsRegion()build()Builds the configured instance.userPoolId(String userPoolId) Sets the value ofCfnApi.CognitoConfigProperty.getUserPoolId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsRegion
Sets the value ofCfnApi.CognitoConfigProperty.getAwsRegion()- Parameters:
awsRegion- the value to be set. This parameter is required.- Returns:
this
-
userPoolId
Sets the value ofCfnApi.CognitoConfigProperty.getUserPoolId()- Parameters:
userPoolId- the value to be set. This parameter is required.- Returns:
this
-
appIdClientRegex
@Stability(Stable) public CfnApi.CognitoConfigProperty.Builder appIdClientRegex(String appIdClientRegex) Sets the value ofCfnApi.CognitoConfigProperty.getAppIdClientRegex()- Parameters:
appIdClientRegex- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApi.CognitoConfigProperty>- Returns:
- a new instance of
CfnApi.CognitoConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-