Package com.mparticle.identity
Class AliasRequest.Builder
- java.lang.Object
-
- com.mparticle.identity.AliasRequest.Builder
-
- Enclosing class:
- AliasRequest
public static class AliasRequest.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AliasRequest
build()
build theAliasRequest.Builder
into an immutableAliasRequest
AliasRequest.Builder
destinationMpid(long mpid)
set the user which the sourceUser will be "copied" ontoAliasRequest.Builder
endTime(long endTime)
set a time indicating the end of the window of activity which should be aliasedAliasRequest.Builder
sourceMpid(long mpid)
set the mpid of the user which is to be "copied" overAliasRequest.Builder
startTime(long startTime)
set a time indicating the beginning of the window of activity which should be aliased
-
-
-
Method Detail
-
destinationMpid
public AliasRequest.Builder destinationMpid(long mpid)
set the user which the sourceUser will be "copied" onto- Parameters:
mpid
- the destination user's mpid- Returns:
-
sourceMpid
public AliasRequest.Builder sourceMpid(long mpid)
set the mpid of the user which is to be "copied" over- Returns:
- the source user's mpid
-
startTime
public AliasRequest.Builder startTime(long startTime)
set a time indicating the beginning of the window of activity which should be aliased- Parameters:
startTime
- the time, in milliseconds- Returns:
-
endTime
public AliasRequest.Builder endTime(long endTime)
set a time indicating the end of the window of activity which should be aliased- Parameters:
endTime
- the time, in milliseconds
-
build
public AliasRequest build()
build theAliasRequest.Builder
into an immutableAliasRequest
- Returns:
-
-