Class AccountResource

java.lang.Object
com.strongdm.api.AccountResource

public class AccountResource extends Object
AccountResource represents an individual access grant of a Account to a Resource.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    The unique identifier of the AccountGrant through which the Account was granted access to the Resource.
    The unique identifier of the Account to which access is granted.
    The time this grant was created, distinct from 'granted at' in the case where access is scheduled for the future.
    The time at which access will expire.
    The most recent time at which access was granted.
    The unique identifier of the Resource to which access is granted.
    The unique identifier of the Role through which the Account was granted access to the Resource.
    void
    The unique identifier of the AccountGrant through which the Account was granted access to the Resource.
    void
    The unique identifier of the Account to which access is granted.
    void
    The time this grant was created, distinct from 'granted at' in the case where access is scheduled for the future.
    void
    The time at which access will expire.
    void
    The most recent time at which access was granted.
    void
    The unique identifier of the Resource to which access is granted.
    void
    The unique identifier of the Role through which the Account was granted access to the Resource.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AccountResource

      public AccountResource()
  • Method Details

    • getAccountGrantId

      public String getAccountGrantId()
      The unique identifier of the AccountGrant through which the Account was granted access to the Resource. If empty, access was not granted through an AccountGrant.
    • setAccountGrantId

      public void setAccountGrantId(String in)
      The unique identifier of the AccountGrant through which the Account was granted access to the Resource. If empty, access was not granted through an AccountGrant.
    • getAccountId

      public String getAccountId()
      The unique identifier of the Account to which access is granted.
    • setAccountId

      public void setAccountId(String in)
      The unique identifier of the Account to which access is granted.
    • getCreatedAt

      public Date getCreatedAt()
      The time this grant was created, distinct from 'granted at' in the case where access is scheduled for the future. If access was granted, revoked, and granted again, this will reflect the later creation time.
    • setCreatedAt

      public void setCreatedAt(Date in)
      The time this grant was created, distinct from 'granted at' in the case where access is scheduled for the future. If access was granted, revoked, and granted again, this will reflect the later creation time.
    • getExpiresAt

      public Date getExpiresAt()
      The time at which access will expire. If empty, this access has no expiration.
    • setExpiresAt

      public void setExpiresAt(Date in)
      The time at which access will expire. If empty, this access has no expiration.
    • getGrantedAt

      public Date getGrantedAt()
      The most recent time at which access was granted. If access was granted, revoked, and granted again, this will reflect the later time.
    • setGrantedAt

      public void setGrantedAt(Date in)
      The most recent time at which access was granted. If access was granted, revoked, and granted again, this will reflect the later time.
    • getResourceId

      public String getResourceId()
      The unique identifier of the Resource to which access is granted.
    • setResourceId

      public void setResourceId(String in)
      The unique identifier of the Resource to which access is granted.
    • getRoleId

      public String getRoleId()
      The unique identifier of the Role through which the Account was granted access to the Resource. If empty, access was not granted through an AccountAttachment to a Role.
    • setRoleId

      public void setRoleId(String in)
      The unique identifier of the Role through which the Account was granted access to the Resource. If empty, access was not granted through an AccountAttachment to a Role.