Class EntityUID

java.lang.Object
com.cedarpolicy.value.Value
com.cedarpolicy.value.EntityUID

public class EntityUID extends Value
Represents a Cedar Entity UID. An entity UID contains both the entity type and a unique identifier for the entity formatted as TYPE::"ID".
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      As String.
      Overrides:
      toString in class Object
    • toCedarExpr

      public String toCedarExpr()
      To Cedar expr that can be used in a Cedar policy.
      Specified by:
      toCedarExpr in class Value
      Returns:
      Cedar source code for the value.
    • getType

      public String getType()
      Get the type of the EUID.
    • getId

      public String getId()
      Get the ID of the EUID.