Class AtlanUser.AtlanUserBuilder<C extends AtlanUser,B extends AtlanUser.AtlanUserBuilder<C,B>>

java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.admin.AtlanUser.AtlanUserBuilder<C,B>
Enclosing class:
AtlanUser

public abstract static class AtlanUser.AtlanUserBuilder<C extends AtlanUser,B extends AtlanUser.AtlanUserBuilder<C,B>> extends AtlanObject.AtlanObjectBuilder<C,B>
  • Constructor Details

    • AtlanUserBuilder

      public AtlanUserBuilder()
  • Method Details

    • $fillValuesFrom

      protected B $fillValuesFrom(C instance)
      Overrides:
      $fillValuesFrom in class AtlanObject.AtlanObjectBuilder<C extends AtlanUser,B extends AtlanUser.AtlanUserBuilder<C,B>>
    • username

      public B username(String username)
      Username of the user within Atlan.
      Returns:
      this.
    • id

      public B id(String id)
      Unique identifier (GUID) of the user within Atlan.
      Returns:
      this.
    • workspaceRole

      public B workspaceRole(String workspaceRole)
      Name of the role of the user within Atlan.
      Returns:
      this.
    • email

      public B email(String email)
      Email address of the user.
      Returns:
      this.
    • emailVerified

      public B emailVerified(Boolean emailVerified)
      When true, the email address of the user has been verified.
      Returns:
      this.
    • enabled

      public B enabled(Boolean enabled)
      When true, the user is enabled. When false, the user has been deactivated.
      Returns:
      this.
    • firstName

      public B firstName(String firstName)
      First name of the user.
      Returns:
      this.
    • lastName

      public B lastName(String lastName)
      Last name (surname) of the user.
      Returns:
      this.
    • attributes

      public B attributes(AtlanUser.UserAttributes attributes)
      Detailed attributes of the user.
      Returns:
      this.
    • createdTimestamp

      public B createdTimestamp(Long createdTimestamp)
      Time (epoch) at which the user was created, in milliseconds.
      Returns:
      this.
    • lastLoginTime

      public B lastLoginTime(Long lastLoginTime)
      Time (epoch) at which the user last logged into Atlan.
      Returns:
      this.
    • groupCount

      public B groupCount(Long groupCount)
      Number of groups to which the user belongs.
      Returns:
      this.
    • defaultRoles

      public B defaultRoles(List<String> defaultRoles)
      TBC
      Returns:
      this.
    • roles

      public B roles(List<String> roles)
      TBC
      Returns:
      this.
    • decentralizedRoles

      public B decentralizedRoles(String decentralizedRoles)
      TBC
      Returns:
      this.
    • personas

      public B personas(SortedSet<AtlanUser.Persona> personas)
      Personas the user is associated with.
      Returns:
      this.
    • purposes

      public B purposes(SortedSet<String> purposes)
      Purposes the user is associated with.
      Returns:
      this.
    • adminEvents

      public B adminEvents(List<AdminEvent> adminEvents)
      List of administration-related events for this user.
      Returns:
      this.
    • loginEvents

      public B loginEvents(List<KeycloakEvent> loginEvents)
      List of login-related events for this user.
      Returns:
      this.
    • self

      protected abstract B self()
      Specified by:
      self in class AtlanObject.AtlanObjectBuilder<C extends AtlanUser,B extends AtlanUser.AtlanUserBuilder<C,B>>
    • build

      public abstract C build()
      Specified by:
      build in class AtlanObject.AtlanObjectBuilder<C extends AtlanUser,B extends AtlanUser.AtlanUserBuilder<C,B>>
    • toString

      public String toString()
      Overrides:
      toString in class AtlanObject.AtlanObjectBuilder<C extends AtlanUser,B extends AtlanUser.AtlanUserBuilder<C,B>>