Class UserPoolAuthenticationProviderBindConfig.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.identitypool.UserPoolAuthenticationProviderBindConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<UserPoolAuthenticationProviderBindConfig>
- Enclosing interface:
UserPoolAuthenticationProviderBindConfig
@Stability(Stable)
public static final class UserPoolAuthenticationProviderBindConfig.Builder
extends Object
implements software.amazon.jsii.Builder<UserPoolAuthenticationProviderBindConfig>
A builder for
UserPoolAuthenticationProviderBindConfig-
Constructor Summary
Constructors -
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(Stable) 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(Stable) 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(Stable) 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:
buildin interfacesoftware.amazon.jsii.Builder<UserPoolAuthenticationProviderBindConfig>- Returns:
- a new instance of
UserPoolAuthenticationProviderBindConfig - Throws:
NullPointerException- if any required attribute was not provided
-