Package io.etcd.jetcd.auth
Class Permission
java.lang.Object
io.etcd.jetcd.auth.Permission
represents a permission over a range of keys.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPermission(Permission.Type permType, ByteSequence key, ByteSequence rangeEnd) -
Method Summary
Modifier and TypeMethodDescriptiongetKey()Returns the type of Permission: READ, WRITE, READWRITE, or UNRECOGNIZED.
-
Constructor Details
-
Permission
-
-
Method Details
-
getPermType
Returns the type of Permission: READ, WRITE, READWRITE, or UNRECOGNIZED.- Returns:
- the permission type.
-
getKey
-
getRangeEnd
-