Package io.prestosql.spi.security
Class SelectedRole
- java.lang.Object
-
- io.prestosql.spi.security.SelectedRole
-
public class SelectedRole extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SelectedRole.Type
-
Constructor Summary
Constructors Constructor Description SelectedRole(SelectedRole.Type type, Optional<String> role)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Optional<String>
getRole()
SelectedRole.Type
getType()
int
hashCode()
String
toString()
static SelectedRole
valueOf(String value)
-
-
-
Constructor Detail
-
SelectedRole
public SelectedRole(SelectedRole.Type type, Optional<String> role)
-
-
Method Detail
-
getType
public SelectedRole.Type getType()
-
valueOf
public static SelectedRole valueOf(String value)
-
-