Class SignInUrlOptions.Builder
java.lang.Object
software.amazon.awscdk.services.cognito.SignInUrlOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SignInUrlOptions>
- Enclosing interface:
SignInUrlOptions
@Stability(Stable)
public static final class SignInUrlOptions.Builder
extends Object
implements software.amazon.jsii.Builder<SignInUrlOptions>
A builder for
SignInUrlOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofBaseUrlOptions.getFips()redirectUri(String redirectUri) Sets the value ofSignInUrlOptions.getRedirectUri()signInPath(String signInPath) Sets the value ofSignInUrlOptions.getSignInPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
redirectUri
Sets the value ofSignInUrlOptions.getRedirectUri()- Parameters:
redirectUri- Where to redirect to after sign in. This parameter is required.- Returns:
this
-
signInPath
Sets the value ofSignInUrlOptions.getSignInPath()- Parameters:
signInPath- The path in the URI where the sign-in page is located.- Returns:
this
-
fips
Sets the value ofBaseUrlOptions.getFips()- Parameters:
fips- Whether to return the FIPS-compliant endpoint.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SignInUrlOptions>- Returns:
- a new instance of
SignInUrlOptions - Throws:
NullPointerException- if any required attribute was not provided
-