Interface PrincipalPolicy
- All Known Implementing Classes:
PrincipalPolicyJson
public interface PrincipalPolicy
An access policy attached directly to a principal (user), as returned by the IAM
principal-policy operations.
This is a read-only response view (spec schema PrincipalPolicy).
-
Method Details
-
getUserPrincipal
String getUserPrincipal()- Returns:
- the user principal this policy is attached to
-
getDescription
String getDescription()- Returns:
- the description of the policy (may be
null)
-
getTags
-
getPermissions
List<PolicyExpression> getPermissions()- Returns:
- the permission entries (polymorphic
UserRectSetmembers), each as a losslessPolicyExpression
-
getRev
String getRev()- Returns:
- the opaque revision of the policy (used as
lastRev)
-
getDisabledPolicy
Boolean getDisabledPolicy()- Returns:
truewhen the policy is disabled, otherwisenull
-
getCreatedBy
String getCreatedBy()- Returns:
- the principal that created the policy
-
getCreatedAt
String getCreatedAt()- Returns:
- the creation timestamp
-
getUpdatedBy
String getUpdatedBy()- Returns:
- the principal that last updated the policy
-
getUpdatedAt
String getUpdatedAt()- Returns:
- the last-updated timestamp
-
getApprovedAt
String getApprovedAt()- Returns:
- the approval timestamp (may be
null)
-
getApprovedBy
String getApprovedBy()- Returns:
- the principal that approved the policy (may be
null)
-