Interface UpdateUserAttributesResponse.Builder

  • 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. 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.
      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. 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.
      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 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.

      This is a convenience method that creates an instance of the CodeDeliveryDetailsType.Builder avoiding the need to create one manually via CodeDeliveryDetailsType.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to codeDeliveryDetailsList(List<CodeDeliveryDetailsType>).

      Parameters:
      codeDeliveryDetailsList - a consumer that will call methods on CodeDeliveryDetailsType.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: