@Stability(value=Stable) public static final class UserPoolIdentityProviderGoogleProps.Builder extends Object implements software.amazon.jsii.Builder<UserPoolIdentityProviderGoogleProps>
UserPoolIdentityProviderGoogleProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
UserPoolIdentityProviderGoogleProps.Builder |
attributeMapping(AttributeMapping attributeMapping)
Sets the value of
UserPoolIdentityProviderProps.getAttributeMapping() |
UserPoolIdentityProviderGoogleProps |
build()
Builds the configured instance.
|
UserPoolIdentityProviderGoogleProps.Builder |
clientId(String clientId)
Sets the value of
UserPoolIdentityProviderGoogleProps.getClientId() |
UserPoolIdentityProviderGoogleProps.Builder |
clientSecret(String clientSecret)
Sets the value of
UserPoolIdentityProviderGoogleProps.getClientSecret() |
UserPoolIdentityProviderGoogleProps.Builder |
scopes(List<String> scopes)
Sets the value of
UserPoolIdentityProviderGoogleProps.getScopes() |
UserPoolIdentityProviderGoogleProps.Builder |
userPool(IUserPool userPool)
Sets the value of
UserPoolIdentityProviderProps.getUserPool() |
@Stability(value=Stable) public UserPoolIdentityProviderGoogleProps.Builder clientId(String clientId)
UserPoolIdentityProviderGoogleProps.getClientId()clientId - The client id recognized by Google APIs. This parameter is required.this@Stability(value=Stable) public UserPoolIdentityProviderGoogleProps.Builder clientSecret(String clientSecret)
UserPoolIdentityProviderGoogleProps.getClientSecret()clientSecret - The client secret to be accompanied with clientId for Google APIs to authenticate the client. This parameter is required.this@Stability(value=Stable) public UserPoolIdentityProviderGoogleProps.Builder scopes(List<String> scopes)
UserPoolIdentityProviderGoogleProps.getScopes()scopes - The list of google permissions to obtain for getting access to the google profile.this@Stability(value=Stable) public UserPoolIdentityProviderGoogleProps.Builder userPool(IUserPool userPool)
UserPoolIdentityProviderProps.getUserPool()userPool - The user pool to which this construct provides identities. This parameter is required.this@Stability(value=Stable) public UserPoolIdentityProviderGoogleProps.Builder attributeMapping(AttributeMapping attributeMapping)
UserPoolIdentityProviderProps.getAttributeMapping()attributeMapping - Mapping attributes from the identity provider to standard and custom attributes of the user pool.this@Stability(value=Stable) public UserPoolIdentityProviderGoogleProps build()
build in interface software.amazon.jsii.Builder<UserPoolIdentityProviderGoogleProps>UserPoolIdentityProviderGooglePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.