public static final class AWSCognitoAuthSignInOptions.CognitoBuilder extends com.amplifyframework.auth.options.AuthSignInOptions.Builder<AWSCognitoAuthSignInOptions.CognitoBuilder>
| Constructor and Description |
|---|
CognitoBuilder()
Constructor for the builder.
|
| Modifier and Type | Method and Description |
|---|---|
AWSCognitoAuthSignInOptions.CognitoBuilder |
authFlowType(AuthFlowType authFlowType)
Set the authFlowType for the object being built.
|
AWSCognitoAuthSignInOptions |
build()
Construct and return the object with the values set in the builder.
|
AWSCognitoAuthSignInOptions.CognitoBuilder |
getThis()
Returns the type of builder this is to support proper flow with it being an extended class.
|
AWSCognitoAuthSignInOptions.CognitoBuilder |
metadata(java.util.Map<java.lang.String,java.lang.String> metadata)
Set the metadata field for the object being built.
|
public AWSCognitoAuthSignInOptions.CognitoBuilder getThis()
getThis in class com.amplifyframework.auth.options.AuthSignInOptions.Builder<AWSCognitoAuthSignInOptions.CognitoBuilder>@NonNull public AWSCognitoAuthSignInOptions.CognitoBuilder metadata(@NonNull java.util.Map<java.lang.String,java.lang.String> metadata)
metadata - Custom user metadata to be sent with the sign in request.@NonNull public AWSCognitoAuthSignInOptions.CognitoBuilder authFlowType(@NonNull AuthFlowType authFlowType)
authFlowType - authFlowType to be sent to sign in request.@NonNull public AWSCognitoAuthSignInOptions build()
build in class com.amplifyframework.auth.options.AuthSignInOptions.Builder<AWSCognitoAuthSignInOptions.CognitoBuilder>