Enum Class Acl.Principal

Object
Enum<Acl.Principal>
akka.javasdk.annotations.Acl.Principal
All Implemented Interfaces:
Serializable, Comparable<Acl.Principal>, Constable
Enclosing class:
Acl

public static enum Acl.Principal extends Enum<Acl.Principal>
This enum contains principal matchers that don't have any configuration, such as a name, associated with them, for ease of reference in annotations.
  • Enum Constant Details

    • UNSPECIFIED

      public static final Acl.Principal UNSPECIFIED
    • ALL

      public static final Acl.Principal ALL
      All (or no) principals. This matches all requests regardless of what principals are associated with it.
    • INTERNET

      public static final Acl.Principal INTERNET
      The internet. This will match all requests that originated from the internet, and passed through the ingress via a configured route.
  • Method Details

    • values

      public static Acl.Principal[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Acl.Principal valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null