Package zendesk.core
Class AnonymousIdentity.Builder
- java.lang.Object
-
- zendesk.core.AnonymousIdentity.Builder
-
- Enclosing class:
- AnonymousIdentity
public static class AnonymousIdentity.Builder extends java.lang.Object
This is a builder class which is used to generate aIdentity
-
-
Constructor Summary
Constructors Constructor and Description Builder()
Creates a builder which can be used to create an anonymous identity
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Identity
build()
Builds aIdentity
object with the specified parameters.AnonymousIdentity.Builder
withEmailIdentifier(java.lang.String email)
Specify the Email to be used as part of the identity when using Anonymous AccessAnonymousIdentity.Builder
withNameIdentifier(java.lang.String name)
Specify the Name to be used as part of the identity when using Anonymous Access.
-
-
-
Method Detail
-
withNameIdentifier
public AnonymousIdentity.Builder withNameIdentifier(java.lang.String name)
Specify the Name to be used as part of the identity when using Anonymous Access.This field is optional
- Parameters:
name
- String name which will be included as part of the End User profile- Returns:
- The Builder
-
withEmailIdentifier
public AnonymousIdentity.Builder withEmailIdentifier(java.lang.String email)
Specify the Email to be used as part of the identity when using Anonymous AccessThis field is optional
- Parameters:
email
- String email which will be included as part of the End User profile- Returns:
- The Builder
-
-