Class UserPoolIdentityProviderGoogle.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.UserPoolIdentityProviderGoogle.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<UserPoolIdentityProviderGoogle>
- Enclosing class:
UserPoolIdentityProviderGoogle
@Stability(Stable)
public static final class UserPoolIdentityProviderGoogle.Builder
extends Object
implements software.amazon.jsii.Builder<UserPoolIdentityProviderGoogle>
A fluent builder for
UserPoolIdentityProviderGoogle
.-
Method Summary
Modifier and TypeMethodDescriptionattributeMapping
(AttributeMapping attributeMapping) Mapping attributes from the identity provider to standard and custom attributes of the user pool.build()
The client id recognized by Google APIs.clientSecret
(String clientSecret) Deprecated.use clientSecretValue insteadclientSecretValue
(SecretValue clientSecretValue) The client secret to be accompanied with clientId for Google APIs to authenticate the client as SecretValue.The list of Google permissions to obtain for getting access to the Google profile.The user pool to which this construct provides identities.
-
Method Details
-
create
@Stability(Stable) public static UserPoolIdentityProviderGoogle.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
UserPoolIdentityProviderGoogle.Builder
.
-
userPool
The user pool to which this construct provides identities.- Parameters:
userPool
- The user pool to which this construct provides identities. This parameter is required.- Returns:
this
-
attributeMapping
@Stability(Stable) public UserPoolIdentityProviderGoogle.Builder attributeMapping(AttributeMapping attributeMapping) Mapping attributes from the identity provider to standard and custom attributes of the user pool.Default: - no attribute mapping
- Parameters:
attributeMapping
- Mapping attributes from the identity provider to standard and custom attributes of the user pool. This parameter is required.- Returns:
this
-
clientId
The client id recognized by Google APIs.- Parameters:
clientId
- The client id recognized by Google APIs. This parameter is required.- Returns:
this
- See Also:
-
clientSecret
@Stability(Deprecated) @Deprecated public UserPoolIdentityProviderGoogle.Builder clientSecret(String clientSecret) Deprecated.use clientSecretValue instead(deprecated) The client secret to be accompanied with clientId for Google APIs to authenticate the client.Default: none
- Parameters:
clientSecret
- The client secret to be accompanied with clientId for Google APIs to authenticate the client. This parameter is required.- Returns:
this
- See Also:
-
clientSecretValue
@Stability(Stable) public UserPoolIdentityProviderGoogle.Builder clientSecretValue(SecretValue clientSecretValue) The client secret to be accompanied with clientId for Google APIs to authenticate the client as SecretValue.Default: none
- Parameters:
clientSecretValue
- The client secret to be accompanied with clientId for Google APIs to authenticate the client as SecretValue. This parameter is required.- Returns:
this
- See Also:
-
scopes
The list of Google permissions to obtain for getting access to the Google profile.Default: [ profile ]
- Parameters:
scopes
- The list of Google permissions to obtain for getting access to the Google profile. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<UserPoolIdentityProviderGoogle>
- Returns:
- a newly built instance of
UserPoolIdentityProviderGoogle
.
-