UserProfile.Builder class

com.yandex.metrica.profile

public class UserProfile.Builder

Builder class for UserProfile.

Methods

UserProfile.Builderapply(@NonNull UserProfileUpdate<? extends UserProfileUpdatePatcher> userProfileUpdate)

Applies user profile update.

UserProfilebuild()

Creates the UserProfile.Builder instance.

Method descriptions

apply

public UserProfile.Builder apply(@NonNull UserProfileUpdate<? extends UserProfileUpdatePatcher> userProfileUpdate)

Applies user profile update.

Parameters:
userProfileUpdateInstance of the UserProfileUpdate class that contains all attribute updates.

Returns:

The instance of the UserProfile.Builder class.

build

public UserProfile build()

Creates the UserProfile.Builder instance.

Returns:

The instance of the UserProfile class.