Interface SignUpResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<SignUpResponse.Builder,,SignUpResponse> SdkBuilder<SignUpResponse.Builder,,SignUpResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SignUpResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.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.A session Id that you can pass toConfirmSignUpwhen you want to immediately sign in your user with theUSER_AUTHflow after they complete sign-up.userConfirmed(Boolean userConfirmed) Indicates whether the user was automatically confirmed.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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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:
-
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
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.
-