-
- All Implemented Interfaces:
public final class Permutive.BuilderBuild a new Permutive object.
Calling aliasProvider and identity is optional, all other methods are required.
-
-
Constructor Summary
Constructors Constructor Description Permutive.Builder()
-
Method Summary
Modifier and Type Method Description final Permutive.Buildercontext(Context context)Specify Android context to use. final Permutive.BuilderprojectId(UUID projectId)Specify the ID of the Permutive workspace. final Permutive.BuilderworkspaceId(UUID workspaceId)Specify the ID of the Permutive workspace. final Permutive.BuilderapiKey(UUID apiKey)Specify the API key. final Permutive.Builderidentity(String identity)Specify the starting identity, if any. final Permutive.BuilderaliasProvider(AliasProvider aliasProvider)Add any additional alias providers (this method may be called more than once). final Permutive.BuildercustomAlias(Alias alias)Add any additional custom aliases (this method may be called more than once). final Permutivebuild()Build a Permutive object from the parameters specified. -
-
Method Detail
-
context
final Permutive.Builder context(Context context)
Specify Android context to use.
-
projectId
@Deprecated(message = "Replace with workspaceId(UUID)", replaceWith = @ReplaceWith(imports = {}, expression = "workspaceId(projectId)")) final Permutive.Builder projectId(UUID projectId)
Specify the ID of the Permutive workspace.
-
workspaceId
final Permutive.Builder workspaceId(UUID workspaceId)
Specify the ID of the Permutive workspace.
-
apiKey
final Permutive.Builder apiKey(UUID apiKey)
Specify the API key.
-
identity
final Permutive.Builder identity(String identity)
Specify the starting identity, if any.
-
aliasProvider
final Permutive.Builder aliasProvider(AliasProvider aliasProvider)
Add any additional alias providers (this method may be called more than once).
-
customAlias
final Permutive.Builder customAlias(Alias alias)
Add any additional custom aliases (this method may be called more than once).
-
-
-
-