Package kalix.javasdk.annotations
Enum Class Acl.Principal
- All Implemented Interfaces:
Serializable
,Comparable<Acl.Principal>
,Constable
- Enclosing class:
- Acl
This enum contains principal matchers that don't have any configuration, such as a name, associated with them,
for ease of reference in annotations.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Acl.Principal
Returns the enum constant of this class with the specified name.static Acl.Principal[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSPECIFIED
-
ALL
All (or no) principals. This matches all requests regardless of what principals are associated with it. -
INTERNET
The internet. This will match all requests that originated from the internet, and passed through the Kalix ingress via a configured route.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-