public static final class UserPoolAuthenticationProviderProps.Builder
extends java.lang.Object
UserPoolAuthenticationProviderProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
UserPoolAuthenticationProviderProps |
build()
Builds the configured instance.
|
UserPoolAuthenticationProviderProps.Builder |
disableServerSideTokenCheck(java.lang.Boolean disableServerSideTokenCheck)
Sets the value of
UserPoolAuthenticationProviderProps.getDisableServerSideTokenCheck() |
UserPoolAuthenticationProviderProps.Builder |
userPool(IUserPool userPool)
Sets the value of
UserPoolAuthenticationProviderProps.getUserPool() |
UserPoolAuthenticationProviderProps.Builder |
userPoolClient(IUserPoolClient userPoolClient)
Sets the value of
UserPoolAuthenticationProviderProps.getUserPoolClient() |
public UserPoolAuthenticationProviderProps.Builder userPool(IUserPool userPool)
UserPoolAuthenticationProviderProps.getUserPool()
userPool
- The User Pool of the Associated Identity Providers. This parameter is required.this
public UserPoolAuthenticationProviderProps.Builder disableServerSideTokenCheck(java.lang.Boolean disableServerSideTokenCheck)
UserPoolAuthenticationProviderProps.getDisableServerSideTokenCheck()
disableServerSideTokenCheck
- Setting this to true turns off identity pool checks for this user pool to make sure the user has not been globally signed out or deleted before the identity pool provides an OIDC token or AWS credentials for the user.this
public UserPoolAuthenticationProviderProps.Builder userPoolClient(IUserPoolClient userPoolClient)
UserPoolAuthenticationProviderProps.getUserPoolClient()
userPoolClient
- The User Pool Client for the provided User Pool.this
public UserPoolAuthenticationProviderProps build()
UserPoolAuthenticationProviderProps
java.lang.NullPointerException
- if any required attribute was not provided