Package com.zendesk.sdk.model.access
Class AnonymousIdentity.Builder
- java.lang.Object
-
- com.zendesk.sdk.model.access.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 must be used to create an anonymous identity
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated 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
withExternalIdentifier(java.lang.String externalId)
Deprecated.Deprecated in 1.8.0.1. This will be removed in the next release. You will need to use JWT authentication if you want to use external IDsAnonymousIdentity.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
-
withExternalIdentifier
@Deprecated public AnonymousIdentity.Builder withExternalIdentifier(java.lang.String externalId)
Deprecated. Deprecated in 1.8.0.1. This will be removed in the next release. You will need to use JWT authentication if you want to use external IDsSpecify the External Identifier to be used as part of the identity when using Anonymous AccessThis field is optional. If you set it the value must be something that is unique within your Zendesk instance.
- Parameters:
externalId
- String external identifier as part of the End User profile- Returns:
- The Builder
-
-