Class UserPoolAuthenticationProviderBindConfig.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.identitypool.alpha.UserPoolAuthenticationProviderBindConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<UserPoolAuthenticationProviderBindConfig>
- Enclosing interface:
UserPoolAuthenticationProviderBindConfig
@Stability(Experimental)
public static final class UserPoolAuthenticationProviderBindConfig.Builder
extends Object
implements software.amazon.jsii.Builder<UserPoolAuthenticationProviderBindConfig>
A builder for
UserPoolAuthenticationProviderBindConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofUserPoolAuthenticationProviderBindConfig.getClientId()
providerName
(String providerName) Sets the value ofUserPoolAuthenticationProviderBindConfig.getProviderName()
serverSideTokenCheck
(Boolean serverSideTokenCheck) Sets the value ofUserPoolAuthenticationProviderBindConfig.getServerSideTokenCheck()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientId
@Stability(Experimental) public UserPoolAuthenticationProviderBindConfig.Builder clientId(String clientId) Sets the value ofUserPoolAuthenticationProviderBindConfig.getClientId()
- Parameters:
clientId
- Client Id of the Associated User Pool Client. This parameter is required.- Returns:
this
-
providerName
@Stability(Experimental) public UserPoolAuthenticationProviderBindConfig.Builder providerName(String providerName) Sets the value ofUserPoolAuthenticationProviderBindConfig.getProviderName()
- Parameters:
providerName
- The identity providers associated with the UserPool. This parameter is required.- Returns:
this
-
serverSideTokenCheck
@Stability(Experimental) public UserPoolAuthenticationProviderBindConfig.Builder serverSideTokenCheck(Boolean serverSideTokenCheck) Sets the value ofUserPoolAuthenticationProviderBindConfig.getServerSideTokenCheck()
- Parameters:
serverSideTokenCheck
- Whether to enable the identity pool's server side token check. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<UserPoolAuthenticationProviderBindConfig>
- Returns:
- a new instance of
UserPoolAuthenticationProviderBindConfig
- Throws:
NullPointerException
- if any required attribute was not provided
-