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, 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 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
CodeDeliveryDetails
object 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. TheCodeDeliveryDetails
object 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
CodeDeliveryDetails
object 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. TheCodeDeliveryDetails
object 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 theCodeDeliveryDetails
object 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.Builder
avoiding the need to create one manually viaCodeDeliveryDetailsType.builder()
.When the
Consumer
completes,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:
-