Package com.yahoo.vespa.athenz.api
Class AthenzRoleInformation
- java.lang.Object
-
- com.yahoo.vespa.athenz.api.AthenzRole
-
- com.yahoo.vespa.athenz.api.AthenzRoleInformation
-
public class AthenzRoleInformation extends AthenzRole
- Author:
- olaa
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AthenzRoleInformation.AuditLogEntry
static class
AthenzRoleInformation.MembershipRequest
-
Constructor Summary
Constructors Constructor Description AthenzRoleInformation(AthenzDomain domain, String roleName, boolean isSelfServe, boolean reviewEnabled, Optional<AthenzRoleInformation.MembershipRequest> pendingRequest, List<AthenzRoleInformation.AuditLogEntry> auditLog)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AthenzRoleInformation
fromRoleEntity(RoleEntity roleEntity)
List<AthenzRoleInformation.AuditLogEntry>
getAuditLog()
Optional<AthenzRoleInformation.MembershipRequest>
getPendingRequest()
boolean
isReviewEnabled()
boolean
isSelfServe()
-
Methods inherited from class com.yahoo.vespa.athenz.api.AthenzRole
domain, equals, fromResourceName, fromResourceNameString, hashCode, roleName, toResourceName, toResourceNameString, toString
-
-
-
-
Constructor Detail
-
AthenzRoleInformation
public AthenzRoleInformation(AthenzDomain domain, String roleName, boolean isSelfServe, boolean reviewEnabled, Optional<AthenzRoleInformation.MembershipRequest> pendingRequest, List<AthenzRoleInformation.AuditLogEntry> auditLog)
-
-
Method Detail
-
isSelfServe
public boolean isSelfServe()
-
isReviewEnabled
public boolean isReviewEnabled()
-
getPendingRequest
public Optional<AthenzRoleInformation.MembershipRequest> getPendingRequest()
-
getAuditLog
public List<AthenzRoleInformation.AuditLogEntry> getAuditLog()
-
fromRoleEntity
public static AthenzRoleInformation fromRoleEntity(RoleEntity roleEntity)
-
-