Package zendesk.core

Class AnonymousIdentity.Builder

  • Enclosing class:
    AnonymousIdentity


    public static class AnonymousIdentity.Builder
    extends java.lang.Object
    This is a builder class which is used to generate a Identity
    • Constructor Summary

      Constructors 
      Constructor and Description
      Builder()
      Creates a builder which can be used to create an anonymous identity
    • Constructor Detail

      • Builder

        public Builder()
        Creates a builder which can be used to create an anonymous identity
    • 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 Access

        This field is optional

        Parameters:
        email - String email which will be included as part of the End User profile
        Returns:
        The Builder