Interface UpdateUserAttributesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CognitoIdentityProviderResponse.Builder,CopyableBuilder<UpdateUserAttributesResponse.Builder,,UpdateUserAttributesResponse> SdkBuilder<UpdateUserAttributesResponse.Builder,,UpdateUserAttributesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateUserAttributesResponse
-
Method Summary
Modifier and TypeMethodDescriptioncodeDeliveryDetailsList(Collection<CodeDeliveryDetailsType> codeDeliveryDetailsList) When the attribute-update request includes an email address or phone number attribute, Amazon Cognito sends a message to users with a code that confirms ownership of the new value that they entered.codeDeliveryDetailsList(Consumer<CodeDeliveryDetailsType.Builder>... codeDeliveryDetailsList) When the attribute-update request includes an email address or phone number attribute, Amazon Cognito sends a message to users with a code that confirms ownership of the new value that they entered.codeDeliveryDetailsList(CodeDeliveryDetailsType... codeDeliveryDetailsList) When the attribute-update request includes an email address or phone number attribute, Amazon Cognito sends a message to users with a code that confirms ownership of the new value that they entered.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
-
codeDeliveryDetailsList
UpdateUserAttributesResponse.Builder codeDeliveryDetailsList(Collection<CodeDeliveryDetailsType> codeDeliveryDetailsList) When the attribute-update request includes an email address or phone number attribute, Amazon Cognito sends a message to users with a code that confirms ownership of the new value that they entered. The
CodeDeliveryDetailsobject is information about the delivery destination for that link or code. This behavior happens in user pools configured to automatically verify changes to those attributes. For more information, see Verifying when users change their email or phone number.- Parameters:
codeDeliveryDetailsList- When the attribute-update request includes an email address or phone number attribute, Amazon Cognito sends a message to users with a code that confirms ownership of the new value that they entered. TheCodeDeliveryDetailsobject is information about the delivery destination for that link or code. This behavior happens in user pools configured to automatically verify changes to those attributes. For more information, see Verifying when users change their email or phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeDeliveryDetailsList
UpdateUserAttributesResponse.Builder codeDeliveryDetailsList(CodeDeliveryDetailsType... codeDeliveryDetailsList) When the attribute-update request includes an email address or phone number attribute, Amazon Cognito sends a message to users with a code that confirms ownership of the new value that they entered. The
CodeDeliveryDetailsobject is information about the delivery destination for that link or code. This behavior happens in user pools configured to automatically verify changes to those attributes. For more information, see Verifying when users change their email or phone number.- Parameters:
codeDeliveryDetailsList- When the attribute-update request includes an email address or phone number attribute, Amazon Cognito sends a message to users with a code that confirms ownership of the new value that they entered. TheCodeDeliveryDetailsobject is information about the delivery destination for that link or code. This behavior happens in user pools configured to automatically verify changes to those attributes. For more information, see Verifying when users change their email or phone number.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeDeliveryDetailsList
UpdateUserAttributesResponse.Builder codeDeliveryDetailsList(Consumer<CodeDeliveryDetailsType.Builder>... codeDeliveryDetailsList) When the attribute-update request includes an email address or phone number attribute, Amazon Cognito sends a message to users with a code that confirms ownership of the new value 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. This behavior happens in user pools configured to automatically verify changes to those attributes. For more information, see Verifying when users change their email or phone number.CodeDeliveryDetailsType.Builderavoiding the need to create one manually viaCodeDeliveryDetailsType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeDeliveryDetailsList(List<CodeDeliveryDetailsType>).- Parameters:
codeDeliveryDetailsList- 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:
-