Class ApiToken.ApiTokenAttributes

java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.admin.ApiToken.ApiTokenAttributes
All Implemented Interfaces:
Serializable
Enclosing class:
ApiToken

public static final class ApiToken.ApiTokenAttributes extends AtlanObject
See Also:
  • Method Details

    • builder

    • toBuilder

    • getAccessTokenLifespan

      public Long getAccessTokenLifespan()
      Time, in seconds, from createdAt after which the token will expire.
    • getAccessToken

      public String getAccessToken()
      The actual API token that can be used as a bearer token.
    • getClientId

      public String getClientId()
      Unique client identifier (GUID) of the API token.
    • getCreatedAt

      public Long getCreatedAt()
      Epoch time, in milliseconds, at which the API token was created.
    • getCreatedBy

      public String getCreatedBy()
      User who created the API token.
    • getDescription

      public String getDescription()
      Explanation of the API token.
    • getDisplayName

      public String getDisplayName()
      Human-readable name provided when creating the token.
    • getPersonas

      public SortedSet<ApiToken.ApiTokenPersona> getPersonas()
      Personas associated with the API token.
    • getPurposes

      @Deprecated public String getPurposes()
      Deprecated.
      This was a possible future placeholder for purposes associated with the token, but no longer exists on payloads. It is left here purely for any existing code that may have referenced it, but should be removed from that code as it will be removed in the next major release from this object.
    • getWorkspacePermissions

      public SortedSet<String> getWorkspacePermissions()
      Detailed permissions given to the API token.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AtlanObject
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class AtlanObject
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AtlanObject
    • toString

      public String toString()
      Description copied from class: AtlanObject
      Overrides:
      toString in class AtlanObject