Interface AccessPolicyGrant

All Known Implementing Classes:
AccessPolicyGrantJson

public interface AccessPolicyGrant
A grant associating a grantee (a principal, group or project) with an IAM access policy, as returned by the grant operations (GET .../accessPolicies/{accessPolicyId}/grants, operationId listGrants; POST .../grants, operationId addGrant).

This is a read-only response view (spec schema AccessPolicyGrant).

  • Method Details

    • getGrantId

      String getGrantId()
      Returns:
      the unique identifier of this grant (e.g. grant:ABCDEFGHIJ123)
    • getAccessPolicyId

      String getAccessPolicyId()
      Returns:
      the identifier of the access policy this grant references
    • getAccessPolicyErn

      String getAccessPolicyErn()
      Returns:
      the Equinix Resource Name (ERN) of the access policy this grant references
    • getGrantee

      String getGrantee()
      Returns:
      the grantee (a principal, group or project identifier)
    • getCreatedBy

      String getCreatedBy()
      Returns:
      the principal that created this grant
    • getCreatedAt

      String getCreatedAt()
      Returns:
      the creation timestamp of this grant