Interface SignUpResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<SignUpResponse.Builder,SignUpResponse>,SdkBuilder<SignUpResponse.Builder,SignUpResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SignUpResponse
@Mutable @NotThreadSafe public static interface SignUpResponse.Builder extends CognitoIdentityProviderResponse.Builder, SdkPojo, CopyableBuilder<SignUpResponse.Builder,SignUpResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SignUpResponse.BuildercodeDeliveryDetails(Consumer<CodeDeliveryDetailsType.Builder> codeDeliveryDetails)In user pools that automatically verify and confirm new users, Amazon Cognito sends users a message with a code or link that confirms ownership of the phone number or email address that they entered.SignUpResponse.BuildercodeDeliveryDetails(CodeDeliveryDetailsType codeDeliveryDetails)In user pools that automatically verify and confirm new users, Amazon Cognito sends users a message with a code or link that confirms ownership of the phone number or email address that they entered.SignUpResponse.Buildersession(String session)A session Id that you can pass toConfirmSignUpwhen you want to immediately sign in your user with theUSER_AUTHflow after they complete sign-up.SignUpResponse.BuilderuserConfirmed(Boolean userConfirmed)Indicates whether the user was automatically confirmed.SignUpResponse.BuilderuserSub(String userSub)The unique identifier of the new user, for examplea1b2c3d4-5678-90ab-cdef-EXAMPLE11111.-
Methods inherited from interface software.amazon.awssdk.services.cognitoidentityprovider.model.CognitoIdentityProviderResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
userConfirmed
SignUpResponse.Builder userConfirmed(Boolean userConfirmed)
Indicates whether the user was automatically confirmed. You can auto-confirm users with a pre sign-up Lambda trigger.
- Parameters:
userConfirmed- Indicates whether the user was automatically confirmed. You can auto-confirm users with a pre sign-up Lambda trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeDeliveryDetails
SignUpResponse.Builder codeDeliveryDetails(CodeDeliveryDetailsType codeDeliveryDetails)
In user pools that automatically verify and confirm new users, Amazon Cognito sends users a message with a code or link that confirms ownership of the phone number or email address that they entered. The
CodeDeliveryDetailsobject is information about the delivery destination for that link or code.- Parameters:
codeDeliveryDetails- In user pools that automatically verify and confirm new users, Amazon Cognito sends users a message with a code or link that confirms ownership of the phone number or email address that they entered. TheCodeDeliveryDetailsobject is information about the delivery destination for that link or code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeDeliveryDetails
default SignUpResponse.Builder codeDeliveryDetails(Consumer<CodeDeliveryDetailsType.Builder> codeDeliveryDetails)
In user pools that automatically verify and confirm new users, Amazon Cognito sends users a message with a code or link that confirms ownership of the phone number or email address that they entered. The
This is a convenience method that creates an instance of theCodeDeliveryDetailsobject is information about the delivery destination for that link or code.CodeDeliveryDetailsType.Builderavoiding the need to create one manually viaCodeDeliveryDetailsType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeDeliveryDetails(CodeDeliveryDetailsType).- Parameters:
codeDeliveryDetails- a consumer that will call methods onCodeDeliveryDetailsType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
codeDeliveryDetails(CodeDeliveryDetailsType)
-
userSub
SignUpResponse.Builder userSub(String userSub)
The unique identifier of the new user, for example
a1b2c3d4-5678-90ab-cdef-EXAMPLE11111.- Parameters:
userSub- The unique identifier of the new user, for examplea1b2c3d4-5678-90ab-cdef-EXAMPLE11111.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
session
SignUpResponse.Builder session(String session)
A session Id that you can pass to
ConfirmSignUpwhen you want to immediately sign in your user with theUSER_AUTHflow after they complete sign-up.- Parameters:
session- A session Id that you can pass toConfirmSignUpwhen you want to immediately sign in your user with theUSER_AUTHflow after they complete sign-up.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-